Commit 2769f231 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

feat: enforce AUTODEPLOY_TO_PROD and PUBLISH_ON_PROD as boolean variables

parent bd834c04
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -777,9 +777,9 @@ os-production:
    - if: '$OS_PROD_PROJECT == null || $OS_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: $OS_PROD_PROJECT # useless test, just to prevent GitLab warning
      when: manual