try manual cdk deploy
This commit is contained in:
parent
0ace4068c2
commit
a477d260bb
|
@ -15,14 +15,16 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: cdk deploy
|
- uses: actions/setup-node@v4
|
||||||
uses: youyo/aws-cdk-github-actions@v2
|
|
||||||
with:
|
with:
|
||||||
cdk_subcommand: "deploy"
|
node-version: 20
|
||||||
cdk_stack: "stack1"
|
cache: "npm"
|
||||||
cdk_args: "--require-approval never"
|
- name: Install AWS CDK
|
||||||
working_dir: "functions"
|
run: npm install -g aws-cdk
|
||||||
actions_comment: false
|
- name: CDK Deplay
|
||||||
|
run: |
|
||||||
|
cd functions
|
||||||
|
cdk deploy --require-approval never
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
|
|
Loading…
Reference in New Issue