Skip to content

Commit

Permalink
Use npx to run cdk commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas authored Jun 13, 2024
1 parent 98c1c12 commit a9d9c39
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
working-directory: cdk
run: |
npm ci
$(npm bin)/cdk doctor
npx cdk doctor
- name: configure environment
shell: bash
Expand Down Expand Up @@ -63,12 +63,12 @@ jobs:
- name: synthesize cdk stacks
working-directory: cdk
run: |
$(npm bin)/cdk synth *-prod --quiet >/dev/null 2>&1
npx cdk synth *-prod --quiet >/dev/null 2>&1
- name: deploy cdk stacks
working-directory: cdk
run: |
$(npm bin)/cdk deploy *-prod --require-approval=never >/dev/null 2>&1
npx cdk deploy *-prod --require-approval=never >/dev/null 2>&1
- name: Notify Zulip
uses: zulip/github-actions-zulip/send-message@v1
Expand Down

0 comments on commit a9d9c39

Please sign in to comment.