chore: use CI_REPO_DEFAULT_BRANCH instead of hardcoding
All checks were successful
ci/woodpecker/push/gradle Pipeline was successful
ci/woodpecker/push/pages Pipeline was successful

This commit is contained in:
Johannes Frohnmeyer 2024-07-18 14:07:21 +02:00
parent 4409cb5709
commit 45f5fcd9cb
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -8,7 +8,7 @@ steps:
- pacman -Syu mdbook --noconfirm
- mdbook build
when:
- branch: master
- branch: ${CI_REPO_DEFAULT_BRANCH}
publish:
image: woodpeckerci/plugin-s3
pull: true
@ -25,4 +25,4 @@ steps:
strip_prefix: public/
overwrite: true
when:
- branch: master
- branch: ${CI_REPO_DEFAULT_BRANCH}