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 stage: test
script: script:
- ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib - ikiwiki --setup ikiwiki.setup --libdir themes/ikistrap/lib
only: rules:
- branches - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
- tags
pages: pages:
stage: deploy stage: deploy
@ -20,5 +19,5 @@ pages:
artifacts: artifacts:
paths: paths:
- public - public
only: rules:
- master - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH