fix: let the Pages job enable Pages itself

configure-pages fails with a 404 when Pages has never been switched on for
the repository. It can enable it given the pages: write permission the job
already holds, which beats requiring a trip through settings before CI can
go green.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
Lucas Winther
2026-08-15 01:30:23 +02:00
co-authored by Claude Opus 5
parent abaecc13c7
commit fd1111017f
2 changed files with 8 additions and 1 deletions
+2 -1
View File
@@ -153,7 +153,8 @@ so iteration never re-fetches. Every event links back to its source.
Both `.github/workflows/ci.yml` and `.gitlab-ci.yml` run the same gates on every push — typecheck,
tests, and a feed sanity check — then build and publish a container image from the default branch.
GitHub Actions additionally deploys to Pages.
GitHub Actions additionally deploys to Pages, enabling it on first run. Pages is unavailable for
private repositories on the free plan — delete the `pages` job if that applies.
The feed job fails if the event count collapses. A source that quietly stops yielding events is the
failure mode a parser-only pipeline is most prone to, and nothing else would surface it. Everything