Skip to content

Commit

Permalink
Adding back CDK
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrj committed Dec 11, 2023
1 parent 6fbda49 commit 0b3ebff
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
steps:
- uses: actions/checkout@v4

# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v2
# with:
# role-to-assume: "${{ secrets.aws_assume_role }}"
# aws-region: "us-east-2"
#
# - name: CDK Deploy
# run: |
# cd cdk
# pnpm i --frozen-lockfile
# cdk -c env=${{ inputs.environment }} deploy --require-approval never
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: "${{ secrets.aws_assume_role }}"
aws-region: "us-east-2"

- name: CDK Deploy
run: |
cd cdk
pnpm i --frozen-lockfile
cdk -c env=${{ inputs.environment }} deploy --require-approval never
# TODO Get rid of separate role
- name: Configure AWS Credentials
Expand Down

0 comments on commit 0b3ebff

Please sign in to comment.