Optimize build job & add subtitle
All checks were successful
Build Hugo Site / build (push) Successful in 9s

This commit is contained in:
2024-11-19 20:30:16 -07:00
parent 5093d43413
commit 8cb01f9318
4 changed files with 5 additions and 9 deletions

View File

@ -6,17 +6,13 @@ jobs:
build:
runs-on: docker
steps:
- run: apk add --no-cache nodejs
- 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: 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/