Try adding master restriction for publish

This commit is contained in:
Oliver Rümpelein 2021-03-06 19:24:10 +01:00
parent 417005db42
commit f470c1ccd8

View file

@ -20,6 +20,8 @@ build:
artifact:
stage: deploy
script: gradle publish
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull-push