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