chore: use CI_REPO_DEFAULT_BRANCH instead of hardcoding
This commit is contained in:
parent
4409cb5709
commit
45f5fcd9cb
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user