Skip to content
Snippets Groups Projects
Commit 764e6628 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: enforce AUTODEPLOY_TO_PROD and PUBLISH_ON_PROD as boolean variables

parent 5ab908e6
No related branches found
No related tags found
No related merge requests found
......@@ -500,9 +500,9 @@ gcp-production:
- if: '$GCP_PROD_PROJECT == null || $GCP_PROD_PROJECT == ""'
when: never
# if $AUTODEPLOY_TO_PROD: auto
- if: $AUTODEPLOY_TO_PROD
- if: '$AUTODEPLOY_TO_PROD == "true"'
# else if PUBLISH_ON_PROD enabled: auto (because the publish job was blocking)
- if: '$PUBLISH_ON_PROD == "true" || $PUBLISH_ON_PROD == "yes"'
- if: '$PUBLISH_ON_PROD == "true"'
# else: manual, blocking
- if: $GCP_PROD_PROJECT # useless test, just to prevent GitLab warning
when: manual
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment