thesatelliteoflove/.gitea/workflows/hugo_build.yaml
Phil 033e81ea68
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
Build Hugo Site / build (push) Successful in 9s
add submodules to checkout
2024-11-19 15:05:21 -07:00

22 lines
614 B
YAML

name: Build Hugo Site
run-name: ${{ gitea.actor }} is building The Satellite of Love
on: [push]
jobs:
build:
runs-on: docker
steps:
- run: apk add --no-cache nodejs
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-go@v3
with:
go-version: '>=1.17.0'
- run: go version
- run: apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo
- run: hugo version
- run: hugo
- run: ls -lah
- run: apk add rsync
- run: rsync -avz --delete ./public/ /sites/tsol/