Skip to content

Commit 0fe9116

Browse files
committed
For now, run the conference-sync action only on workflow_dispatch
1 parent 792ddfd commit 0fe9116

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/conference-sync.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Sched's API rate limits are very limited, so we sync non-critical part of the data on a cron.
22
on:
3-
schedule:
4-
- cron: "*/10 * * * *" # every ten minutes
3+
workflow_dispatch:
4+
# schedule:
5+
# - cron: "*/10 * * * *" # every ten minutes
56

67
jobs:
78
sync:
@@ -15,6 +16,8 @@ jobs:
1516
- name: Sync conference data from Sched
1617
run: |
1718
tsx scripts/sync-sched/sync.ts --year 2025
19+
env:
20+
SCHED_ACCESS_TOKEN_2025: ${{ secrets.SCHED_ACCESS_TOKEN_2025 }}
1821

1922
- name: Commit changes
2023
uses: stefanzweifel/git-auto-commit-action@v5

0 commit comments

Comments
 (0)