Skip to content

Daily schedule for the publish/export workflow - #56

Merged
MarouaBoud merged 1 commit into
mainfrom
ci/publish-daily
Oct 25, 2026
Merged

MarouaBoud merged 1 commit into
mainfrom
ci/publish-daily

Conversation

@MarouaBoud

Copy link
Copy Markdown
Member

Adds a daily schedule trigger (and workflow_dispatch) to publish.yml, so exports and archive snapshots refresh every day rather than only when a commit touches incidents//schema//scripts/.

Why

publish.yml was push-only, so the chore(export): refresh exports commits appeared only on days with an incident push. A daily run also keeps archive.org snapshots current (via check_links.py --backfill), which can change exports even with no new incidents.

Safety

No job-body change is needed — the workflow is already timer-safe:

  • It reset --hards to origin/main and rebuilds exports from scratch; it never relies on the push's changed-paths diff, so a scheduled run behaves identically to a push run.
  • The git diff --cached --quiet -> "nothing to publish"; return 0 guard makes a no-change day a clean success — no empty commit, no failure.
  • [skip ci] on the export commit still prevents self-triggering loops.

Cron is 0 7 * * * (07:00 UTC), offset from the weekly jobs at 09:00/10:00 UTC.

@MarouaBoud
MarouaBoud merged commit 21be10e into main Oct 25, 2026
1 check passed
@MarouaBoud
MarouaBoud deleted the ci/publish-daily branch October 25, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant