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

feat: enforce AUTODEPLOY_TO_PROD and PUBLISH_ON_PROD as boolean variables

parent 9038d2ce
No related branches found
No related tags found
No related merge requests found
......@@ -1016,7 +1016,7 @@ helm-production:
# if $AUTODEPLOY_TO_PROD: auto
- if: $AUTODEPLOY_TO_PROD
# 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: $CI_COMMIT_REF_NAME # 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