CI: Alternatively run pages if ref matches default branch

pull/1/head
parent 844f9c846f
commit e8ad11287d
Failed to generate hash of commit
  1. 2
      .gitlab-ci.yml

@ -5,7 +5,7 @@ pages:
image: archlinux:latest
interruptible: true
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
before_script:
- pacman --needed --noconfirm --sync --refresh --sysupgrade zola
script:

Loading…
Cancel
Save