Run deploy step only in master branch
This commit is contained in:
parent
2fcf3b0387
commit
f33da2703b
|
@ -140,6 +140,10 @@ deploy-prod:
|
|||
stage: deploy
|
||||
tags:
|
||||
- prod
|
||||
rules:
|
||||
- when: never
|
||||
- if: $CI_COMMIT_REF_NAME == "master"
|
||||
when: on_success
|
||||
script:
|
||||
- export $(cat context.env | xargs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue