Skip to content

Commit ef0945b

Browse files
committed
Update pages-deploy.yml
1 parent 7304fca commit ef0945b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/pages-deploy.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -87,22 +87,17 @@ jobs:
8787
run: |
8888
python3 ./tools/compare_hash.py
8989
90-
- name: Commit updated hash table
90+
- name: Commit and Push updated hash table
9191
run: |
9292
git config user.name "김윤서(Yunseo Kim)"
9393
git config user.email "[email protected]"
9494
git add ./tools/hash.csv
9595
if ! git diff-index --quiet HEAD --; then
9696
git commit -m "Auto-update hash.csv"
97+
git push
9798
else
9899
echo "No changes to commit."
99100
fi
100-
101-
- name: Push updated hash table
102-
if: ${{ steps.commit.outputs.changes == 'true' }}
103-
run: |
104-
git push
105-
106101
107102
- name: Upload site artifact
108103
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)