website/.gitea/workflows/pipeline-test.yaml
Andreas Hnida 7cd441a876
Some checks failed
Build Hugo Site / build (push) Failing after 24s
test
2024-04-17 06:41:22 +02:00

24 lines
645 B
YAML

name: Build Hugo Site
on:
push:
branches:
- main # or master, depending on your main branch's name
pull_request:
branches:
- main # Enables the action on pull requests to the main branch
jobs:
build:
runs-on: ubuntu-latest # Specifies the runner environment
steps:
- uses: actions/checkout@v2 # Checks out a copy of your repository
- name: Set up Hugo
uses: peaceiris/actions-hugo@v2 # This action sets up Hugo
with:
hugo-version: '0.92.0' # Specify the Hugo version you need
- name: Build Hugo site
run: hugo --minify # Commands to build your Hugo site