Skip to content

Commit

Permalink
Fix if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tjementum committed May 24, 2024
1 parent 0d35c12 commit 61a3f38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cloud-infrastructure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
needs: plan-stage
runs-on: ubuntu-latest
environment: "staging" # Force a manual approval
if: ${{ vars.STAGING_CLUSTER_ENABLED }} == 'true' && github.ref == 'refs/heads/main'
if: ${{ vars.STAGING_CLUSTER_ENABLED == 'true' }}
env:
UNIQUE_PREFIX: ${{ vars.UNIQUE_PREFIX }}
ENVIRONMENT: "stage"
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
needs: plan-prod1
runs-on: ubuntu-latest
environment: "production" # Force a manual approval
if: ${{ vars.PRODUCTION_CLUSTER1_ENABLED }} && github.ref == 'refs/heads/main'
if: ${{ vars.PRODUCTION_CLUSTER1_ENABLED == 'true' && github.ref == 'refs/heads/main' }}
env:
UNIQUE_PREFIX: ${{ vars.UNIQUE_PREFIX }}
ENVIRONMENT: "prod"
Expand Down

0 comments on commit 61a3f38

Please sign in to comment.