Skip to content

fix(docs): auto-enable GitHub Pages from configure-pages action#35

Merged
albedosehen merged 1 commit into
mainfrom
fix/docs-pages-enablement
May 9, 2026
Merged

fix(docs): auto-enable GitHub Pages from configure-pages action#35
albedosehen merged 1 commit into
mainfrom
fix/docs-pages-enablement

Conversation

@albedosehen
Copy link
Copy Markdown
Contributor

Summary

The docs workflow was silently failing at actions/configure-pages@v5 on every push since PR #31 introduced it. PRs #31, #32, and #34 all show red on this leg in the Actions tab. The site at https://oneiriq.github.io/rota/ was returning HTTP 404 the whole time despite the docs PRs claiming it was shipping.

Root cause: Pages was never enabled at the repo level. gh api repos/Oneiriq/rota/pages returned 404; has_pages was false.

Fix

  • Manually POSTed to /repos/Oneiriq/rota/pages with build_type=workflow to unblock the current state. Run 25601961989 confirms end-to-end: build (6s) + deploy (10s) green, https://oneiriq.github.io/rota/ now returns HTTP 200 with the mdBook content.

  • Added enablement: true to actions/configure-pages@v5 so a future fork (or any state where Pages is disabled at the repo level) auto-enables Pages on first run instead of silently 404-ing.

The docs workflow had been silently failing at the
actions/configure-pages@v5 step on every push to main since PR #31
introduced it (PRs #31, #32, #34 all red on this leg) because Pages
was never enabled at the repo level. The site at
oneiriq.github.io/rota/ was returning HTTP 404 the whole time despite
the docs PRs claiming it was shipping.

Manually POSTed to /repos/Oneiriq/rota/pages with build_type=workflow
to unblock the current state, and run 25601961989 confirms the
workflow now builds and deploys end-to-end (oneiriq.github.io/rota/
returns 200 with the mdBook content).

Adding enablement: true here as the durable fix so a future fork or a
repo where Pages gets disabled doesn't silently regress to the same
hidden 404 state.
@albedosehen albedosehen merged commit 8690cc4 into main May 9, 2026
1 check passed
@albedosehen albedosehen deleted the fix/docs-pages-enablement branch May 9, 2026 13:12
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