Skip to content

Commit

Permalink
Merge pull request #8 from sonatype-nexus-community:refresh
Browse files Browse the repository at this point in the history
refresh git index before checking
  • Loading branch information
hboutemy authored Oct 11, 2024
2 parents fbb4e9a + b1d8988 commit 2d9a9d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd gh-pages
git update-index -q --refresh
git diff-index --quiet HEAD && exit 0 # commit only if something to do
git config --local user.email "[email protected]"
git config --local user.name "Update CI"
Expand Down

0 comments on commit 2d9a9d0

Please sign in to comment.