diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 884269d8fec2763c5306e86cfb53e04de3619722..1099e288d1ed88fe3c55b06951449c3760709427 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,10 +1,11 @@ trigger-production: stage: deploy rules: - - if: $CI_COMMIT_BRANCH == "live_production" + - if: $CI_COMMIT_BRANCH == "live_production" && $CI_COMMIT_TAG != null variables: BUILD_TYPE: frontend UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA + UPSTREAM_COMMIT_TAG: $CI_COMMIT_TAG trigger: # Pipeline B in other project can only be triggered if the user triggering this pipeline has permission to trigger B project: videoag_infra/production