thesatelliteoflove/.gitea/workflows/hugo_build.yaml

16 lines
424 B
YAML
Raw Normal View History

2024-11-19 22:09:39 +01:00
name: Build Hugo Site
run-name: ${{ gitea.actor }} is building The Satellite of Love
on: [push]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
2024-11-19 22:12:20 +01:00
- uses: actions/setup-go@v3
2024-11-19 22:09:39 +01:00
with:
2024-11-19 22:12:20 +01:00
go-version: '>=1.17.0'
2024-11-19 22:16:32 +01:00
- run: go version
2024-11-19 22:18:23 +01:00
- run: apk add build-base
2024-11-19 22:16:32 +01:00
- run: CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
- run: hugo version