Skip to content

Commit daf4762

Browse files
authored
Only add dist files in GH action to commit
1 parent d8f0c4b commit daf4762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
git config --global user.name 'GitHub Action'
3333
git config --global user.email 'action@github.com'
3434
# git add $SCRIPT_OUTPUT_FILE_PATH
35-
git add *
35+
git add dist/*
3636
# https://stackoverflow.com/a/25149786 for git status --porcelain
3737
# https://git-scm.com/docs/git-status#Documentation/git-status.txt--ultmodegt to ignore untracked files
3838
if [[ `git status -uno --porcelain` ]]; then

0 commit comments

Comments
 (0)