Skip to content
This repository has been archived by the owner on Apr 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from graybrandonpfg/fix-args
Browse files Browse the repository at this point in the history
Added/fixed support for CDK subcommand args
  • Loading branch information
youyo authored Nov 16, 2020
2 parents 239b705 + e114733 commit b8e9f11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
with:
cdk_subcommand: 'deploy'
cdk_stack: 'stack1'
cdk_args: '--require-approval never'
actions_comment: false
args: '--require-approval never'
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ inputs:
cdk_subcommand:
description: 'AWS CDK subcommand to execute.'
required: true
cdk_args:
description: 'AWS CDK subcommand arguments.'
required: false
working_dir:
description: 'AWS CDK working directory.'
default: '.'
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function main(){
installTypescript
installAwsCdk
installPipRequirements
runCdk
runCdk ${INPUT_CDK_ARGS}
}

main

0 comments on commit b8e9f11

Please sign in to comment.