chore: Fix CI

This commit is contained in:
daudix-UFO
2023-12-21 18:53:39 +03:00
parent 473a14c502
commit 6374d737c0

View File

@ -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