-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
Description
The last event on the Clojure community events page is from last October, but there's been quite a few events on the Zulip events feed since then.
I suspect this is due to an error in the publish-events.yml GitHub Action. The action checks for the word "modified" in git status, but if only new files are added, this doesn't occur.
Instead, may I suggest using git diff --quiet --cached
to check to see if there's any staged differences after running git add content/events
. This will return an exit code of 0 only if there are no differences, so we can use the inverse to check to see if there should be an update.
git add content/events
if ! git diff --quiet --cached
then
git commit -m 'update events'
git push
fi
Metadata
Metadata
Assignees
Labels
No labels