chore: Fix CI
This commit is contained in:
@ -11,10 +11,11 @@ clone:
|
||||
recursive: true
|
||||
|
||||
steps:
|
||||
# Build Zola static files
|
||||
# Build zola static files
|
||||
build:
|
||||
image: ghcr.io/getzola/zola:v0.17.2
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add zola
|
||||
- zola build
|
||||
when:
|
||||
event: [ pull_request, push ]
|
||||
@ -35,7 +36,7 @@ steps:
|
||||
# Commit and push all static files with pipeline started timestamp
|
||||
- cd $CI_REPO_NAME
|
||||
- git add .
|
||||
- git commit -m "Woodpecker CI ${CI_BUILD_CREATED}"
|
||||
- git commit -m "Woodpecker CI ${CI_COMMIT_SHA}"
|
||||
- git push
|
||||
when:
|
||||
event: push
|
||||
|
Reference in New Issue
Block a user