Update .gitlab-ci.yml

This commit is contained in:
Achilleas Pipinellis 2021-09-15 07:50:29 +00:00
parent 5c7650ed06
commit 99f89ff9f0

View file

@ -9,9 +9,8 @@ test:
stage: test
script:
- ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib
only:
- branches
- tags
rules:
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages:
stage: deploy
@ -20,5 +19,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH