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