Always run jobs if conditions apply

This commit is contained in:
Jonas Tobias Hopusch 2021-07-14 00:01:41 +02:00
parent e8ad11287d
commit cd3548e06b
Failed to generate hash of commit

View file

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