Run deploy step only in master branch

This commit is contained in:
Santiago Lo Coco 2023-10-23 11:45:03 -03:00
parent 2fcf3b0387
commit f33da2703b
1 changed files with 4 additions and 0 deletions

View File

@ -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)