website/.gitea/workflows/pipeline-test.yaml
Andreas Hnida 30b8cb07a6
Some checks failed
Build Hugo Site / build (push) Failing after 43s
update Hugo version to Extended 0.121.2, add support for Hugo Extended
2024-04-17 06:58:33 +02:00

30 lines
544 B
YAML

name: Build Hugo Site
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.20.5'
- name: Set up Hugo Extended
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.121.2'
extended: true # Specify to use Hugo Extended version
- name: Build Hugo site
run: hugo --minify