Skip to content

Commit 0f38e51

Browse files
authored
Add weekly scheduled rebuild to pages workflow (#75)
Rebuilds the site every Wednesday at noon UTC so that past events are no longer displayed as upcoming after Tuesday Hacknight nights. Fixes the root cause: Jekyll bakes event dates into static HTML at build time; without a scheduled trigger, stale 'upcoming' events persist indefinitely until a push or manual dispatch occurs.
1 parent 5526317 commit 0f38e51

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- main # Adjust if your default branch is different
77
# Allows you to run this workflow manually from the Actions tab
88
workflow_dispatch:
9+
schedule:
10+
- cron: '0 12 * * 3' # Every Wednesday at noon UTC (after Tuesday Hacknight events)
911

1012
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1113
permissions:

0 commit comments

Comments
 (0)