Skip to content

Commit

Permalink
Move var substitute to constext.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelconnor00 committed Feb 28, 2024
1 parent 773f7ce commit 1874070
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- '*'


jobs:
deploy:
name: Deploy CDK stacks to test
Expand All @@ -14,13 +13,15 @@ jobs:
actions: write
contents: read
id-token: write
env:
DEPLOY_ROLE: ${{vars.GHA_AWS_DEPLOY_ROLE}}
steps:
-
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{vars.GHA_AWS_DEPLOY_ROLE}}
aws-region: eu-west-1
role-to-assume: $DEPLOY_ROLE
aws-region: eu-west-2
-
name: Checkout repo
uses: actions/checkout@v2
Expand Down

0 comments on commit 1874070

Please sign in to comment.