Skip to content

Commit 4afae8d

Browse files
committed
Update git check to look for staged differences when updating events
Fixes #714
1 parent 4505a8e commit 4afae8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-events.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
git config --global user.name clojure-build
4040
git config --global user.email "[email protected]"
4141
git add content/events
42-
if git status | grep -q modified
42+
if ! git diff --quiet --cached
4343
then
4444
git commit -m 'update events'
4545
git push

0 commit comments

Comments
 (0)