Commit 4cfdc1ce authored by Cédric OLIVIER's avatar Cédric OLIVIER
Browse files

Merge branch 'feat/enforce-boolean-vars' into 'master'

Enforce AUTODEPLOY_TO_PROD and PUBLISH_ON_PROD as boolean variables

See merge request to-be-continuous/cloud-foundry!30
parents 3c96af88 19d043f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -956,9 +956,9 @@ cf-production:
    - if: '$CF_PROD_SPACE == null || $CF_PROD_SPACE == ""'
      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: $CF_PROD_SPACE # useless test, just to prevent GitLab warning
      when: manual