CI: Remove explicit string around if conditions

This commit is contained in:
Jonas Tobias Hopusch 2021-07-13 23:50:34 +02:00
parent 4ad74275ec
commit 844f9c846f
Failed to generate hash of commit

View file

@ -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
before_script: before_script:
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola - pacman --needed --noconfirm --sync --refresh --sysupgrade zola
script: script:
@ -22,7 +22,7 @@ basic-zola-test:
image: archlinux:latest image: archlinux:latest
interruptible: true interruptible: true
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: $CI_PIPELINE_SOURCE == "merge_request_event"
before_script: before_script:
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola - pacman --needed --noconfirm --sync --refresh --sysupgrade zola
script: script: