Skip to content

Commit 8626d85

Browse files
Merge pull request #137 from coding-for-reproducible-research/auto-update-accept-apps
update the github action to use cron job
2 parents d29a4a7 + c5f6b81 commit 8626d85

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy-book.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
name: Deploy Book
22

3-
# Run this on push to main branch
3+
# Run on push to main branch, on a schedule, and allow manual trigger
44
on:
55
push:
66
branches:
77
- main
8+
schedule:
9+
# Runs at 1 AM UTC every day
10+
- cron: '0 1 * * *'
11+
workflow_dispatch: # Allows manual trigger from the GitHub Actions tab
812

913
jobs:
1014
deploy-book:

0 commit comments

Comments
 (0)