Always run jobs if conditions apply
This commit is contained in:
parent
e8ad11287d
commit
cd3548e06b
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ pages:
|
|||
interruptible: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
||||
when: always
|
||||
before_script:
|
||||
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
|
||||
script:
|
||||
|
@ -23,6 +24,7 @@ basic-zola-test:
|
|||
interruptible: true
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
when: always
|
||||
before_script:
|
||||
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
|
||||
script:
|
||||
|
|
Loading…
Reference in a new issue