@@ -15,8 +15,8 @@ test:
artifacts:
paths:
- test
- except:
- - master
+ rules:
+ - if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
pages:
stage: deploy
@@ -25,5 +25,5 @@ pages:
- public
- only:
+ - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH