Skip to content

Commit

Permalink
fix github actions again
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchodeluxe committed Mar 6, 2023
1 parent 444c9a3 commit dd99c74
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: deploy

env:
APIGW_DEPLOY: false
ECS_DEPLOY: false

on:
push:
branches:
- main

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

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

0 comments on commit dd99c74

Please sign in to comment.