Skip to content

Commit 52606a0

Browse files
authored
Update CI (#16)
replace youyo/aws-cdk-github-actions with a run step because the repo[1] has been archived. [1] https://github.com/youyo/aws-cdk-github-actions
1 parent fed0060 commit 52606a0

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/aws-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ jobs:
5050
role-session-name: ${{ inputs.role-session-name }}
5151
role-duration-seconds: ${{ inputs.role-duration-seconds }}
5252
- name: CDK deploy
53-
run: cdk deploy --all --concurrency 5 --require-approval never
53+
run: cdk deploy --all --debug --concurrency 5 --require-approval never
5454
env:
5555
ENV: ${{ inputs.environment }}

.github/workflows/test.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,11 @@ jobs:
2121
steps:
2222
- name: Checkout repository
2323
uses: actions/checkout@v3
24+
- name: Install AWS CDK CLI
25+
run: npm install -g aws-cdk
2426
- name: Install dependencies
2527
run: pip install -r requirements.txt -r requirements-dev.txt
2628
- name: Generate cloudformation
27-
uses: youyo/aws-cdk-github-actions@v2
2829
env:
2930
ENV: ${{ inputs.environment }}
30-
with:
31-
cdk_subcommand: 'synth'
32-
actions_comment: false
33-
debug_log: true
34-
cdk_args: '--output ./cdk.out'
31+
run: cdk synth --debug --output ./cdk.out

0 commit comments

Comments
 (0)