fix(gitlab_release): only run on master on_success

!21 fixes #16
This commit is contained in:
2023-05-14 11:39:53 +09:30
parent 934a401a96
commit e76378dd06

View File

@ -48,7 +48,7 @@
- if: "$CI_COMMIT_AUTHOR =='NFC CI <CI@nfc-gitlab>'" - if: "$CI_COMMIT_AUTHOR =='NFC CI <CI@nfc-gitlab>'"
when: never when: never
- if: '$CI_COMMIT_BRANCH == "master"' - if: '$CI_COMMIT_BRANCH == "master"'
when: always when: on_success
allow_failure: false allow_failure: false
- if: '$CI_COMMIT_BRANCH == "development"' - if: '$CI_COMMIT_BRANCH == "development"'
when: manual when: manual