We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5f75b5 commit 0070f28Copy full SHA for 0070f28
1 file changed
.github/workflows/publish-events.yml
@@ -1,8 +1,9 @@
1
name: Daily Event Publishing
2
3
on:
4
- schedule:
5
- - cron: '0 0 * * *' # Daily at midnight UTC
+ workflow_dispatch:
+# schedule:
6
+# - cron: '0 0 * * *' # Daily at midnight UTC
7
8
jobs:
9
published-daily-events:
@@ -39,5 +40,8 @@ jobs:
39
40
git config --global user.name clojure-build
41
git config --global user.email "clojure-build@users.noreply.github.com"
42
git add content/events
- git commit -m 'update events'
43
- git push
+ if git status | grep -q modified
44
+ then
45
+ git commit -m 'update events'
46
+ git push
47
+ fi
0 commit comments