CI: Alternatively run pages if ref matches default branch
This commit is contained in:
parent
844f9c846f
commit
e8ad11287d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ pages:
|
||||||
image: archlinux:latest
|
image: archlinux:latest
|
||||||
interruptible: true
|
interruptible: true
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||||
before_script:
|
before_script:
|
||||||
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
|
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue