Try adding master restriction for publish
This commit is contained in:
parent
417005db42
commit
f470c1ccd8
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue