thesatelliteoflove/.gitea/workflows/hugo_build.yaml
Phil 8cb01f9318
All checks were successful
Build Hugo Site / build (push) Successful in 9s
Optimize build job & add subtitle
2024-11-19 20:30:16 -07:00

18 lines
522 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 rsync
- run: apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo
- uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-go@v3
with:
go-version: '>=1.17.0'
- run: hugo
- run: rsync -avz --delete ./public/ /sites/tsol/