Skip to content

Commit 2d9a9d0

Browse files
authored
Merge pull request #8 from sonatype-nexus-community:refresh
refresh git index before checking
2 parents fbb4e9a + b1d8988 commit 2d9a9d0

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)