-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix]: specify working directories in workflow files
- Loading branch information
1 parent
425bde7
commit 0b8c8f1
Showing
2 changed files
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,13 +27,15 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Run `cdk diff` | ||
working-directory: ./infrastructure | ||
run: | | ||
npm install | ||
echo '# cdk diffの結果' > cdk-diff-result.txt | ||
npx cdk diff >> cdk-diff-result.txt | ||
- name: Post a comment | ||
uses: actions/[email protected] | ||
working-directory: ./infrastructure | ||
with: | ||
script: | | ||
const fs = require('fs') | ||
|