try manual cdk deploy

This commit is contained in:
adueck 2024-11-28 15:14:45 +05:00
parent 0ace4068c2
commit a477d260bb
1 changed files with 9 additions and 7 deletions

View File

@ -15,14 +15,16 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: cdk deploy
uses: youyo/aws-cdk-github-actions@v2
- uses: actions/setup-node@v4
with:
cdk_subcommand: "deploy"
cdk_stack: "stack1"
cdk_args: "--require-approval never"
working_dir: "functions"
actions_comment: false
node-version: 20
cache: "npm"
- name: Install AWS CDK
run: npm install -g aws-cdk
- name: CDK Deplay
run: |
cd functions
cdk deploy --require-approval never
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}