Do the string signs really make a difference?

This commit is contained in:
Jonas Tobias Hopusch 2021-07-14 00:05:00 +02:00
parent cd3548e06b
commit fa8a6ea735
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 || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH'
when: always when: always
before_script: before_script:
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola - pacman --needed --noconfirm --sync --refresh --sysupgrade zola
@ -23,7 +23,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"'
when: always when: always
before_script: before_script:
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola - pacman --needed --noconfirm --sync --refresh --sysupgrade zola