Optimize build job & add subtitle
All checks were successful
Build Hugo Site / build (push) Successful in 9s
All checks were successful
Build Hugo Site / build (push) Successful in 9s
This commit is contained in:
@ -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/
|
Reference in New Issue
Block a user