Skip to content

Commit

Permalink
add env.<attr> lookups in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchodeluxe committed Mar 6, 2023
1 parent fd2fc62 commit 444c9a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
deploy_apigw_staging:
if: $APIGW_DEPLOY == 'true'
if: env.APIGW_DEPLOY == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
run: npm run cdk deploy tifeatures-timvt-staging -- --require-approval never

deploy_ecs_staging:
if: $ECS_DEPLOY == 'true'
if: env.ECS_DEPLOY == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 444c9a3

Please sign in to comment.