Skip to content

Commit 0070f28

Browse files
committed
Debug event script
1 parent c5f75b5 commit 0070f28

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/publish-events.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Daily Event Publishing
22

33
on:
4-
schedule:
5-
- cron: '0 0 * * *' # Daily at midnight UTC
4+
workflow_dispatch:
5+
# schedule:
6+
# - cron: '0 0 * * *' # Daily at midnight UTC
67

78
jobs:
89
published-daily-events:
@@ -39,5 +40,8 @@ jobs:
3940
git config --global user.name clojure-build
4041
git config --global user.email "[email protected]"
4142
git add content/events
42-
git commit -m 'update events'
43-
git push
43+
if git status | grep -q modified
44+
then
45+
git commit -m 'update events'
46+
git push
47+
fi

0 commit comments

Comments
 (0)