Skip to content

Commit

Permalink
Fix --require-approval never
Browse files Browse the repository at this point in the history
  • Loading branch information
Sundin committed Oct 29, 2020
1 parent 5bb7252 commit 818262f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.

on: [push]
on: [push]

name: Deploy to Amazon ECS

Expand Down Expand Up @@ -64,9 +64,8 @@ jobs:
- name: cdk deploy
uses: youyo/aws-cdk-github-actions@v1
with:
cdk_subcommand: 'deploy'
cdk_subcommand: "deploy --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

0 comments on commit 818262f

Please sign in to comment.