ci(website): add change detection to skip unconditional hourly deploys #515

Merged
guettlibot merged 3 commits from issue-494-website-change-detection into main 2026-06-07 03:04:59 +00:00
3 Commits
Author SHA1 Message Date
Bot of Thomas Güttler 87e95ae381 Merge branch 'main' into issue-494-website-change-detection 2026-06-07 04:52:42 +02:00
Bot of Thomas Güttler ec6c89d174 Merge branch 'main' into issue-494-website-change-detection 2026-06-07 04:27:21 +02:00
Thomas GuettlerandClaude Sonnet 4.6 47aa1a6e5d ci(website): add change detection to skip deploys when nothing changed
Adds a check-changes job to website.yml that queries the Forgejo API for
the last successful website.yml run, compares its head_sha to HEAD, and
diffs for website-relevant paths before deploying. Eliminates ~23 wasteful
hourly rebuilds per day when no website content has changed. Push and
workflow_dispatch triggers are unaffected — they always deploy.

Closes #494

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 00:28:17 +00:00