Skip to content

Commit b1d8988

Browse files
committed
refresh git index before checking
1 parent fbb4e9a commit b1d8988

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/update.yml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
run: |
3030
cd gh-pages
31+
git update-index -q --refresh
3132
git diff-index --quiet HEAD && exit 0 # commit only if something to do
3233
git config --local user.email "[email protected]"
3334
git config --local user.name "Update CI"

0 commit comments

Comments
 (0)