thesatelliteoflove/.gitea/workflows/hugo_build.yaml
Phil 975f2e14f7
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Build Hugo Site / build (push) Failing after 8s
add rsync
2024-11-19 15:02:15 -07:00

20 lines
570 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
- 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/ /sies/tsol/