Skip to content
Snippets Groups Projects
Commit 5caec99d authored by Christian Boettcher's avatar Christian Boettcher
Browse files

manual variable checking to ensure proper job execution

parent 27ac1d52
Branches
Tags
No related merge requests found
Pipeline #77279 canceled
......@@ -76,8 +76,8 @@ full-deploy-production:
stage: deploy
# only run when stable tag is assigned and the pipeline is triggered in the web UI
only:
- tags && web
tags: [stable]
variables:
- ($CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME =~ "/^stable-/")
environment: Production
script:
- echo "Starting the full production deployment."
......@@ -100,9 +100,8 @@ full-deploy-testing:
stage: deploy
# only run when master is updated and the pipeline is triggered in the web UI
only:
- master && web
except:
- tags
variables:
- ($CI_PIPELINE_SOURCE == "web" && $CI_COMMIT_REF_NAME == "master")
environment: Testing
script:
- echo "Starting the full testing deployment."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment