Skip to content
Snippets Groups Projects

Include commit tag in deploy pipeline

Merged Simon Künzel requested to merge master into live_production
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
trigger-production:
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == "live_production"
- if: $CI_COMMIT_BRANCH == "live_production" && $CI_COMMIT_TAG != null
variables:
BUILD_TYPE: backend_api
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
Loading