Skip to content

Commit 417fd9b

Browse files
fix(ci): self-provision GitHub Pages so casket-pages.yml stops failing on main (#404)
## Summary Orphan branch surfaced during 2026-05-27 estate sweep — 1 commit ahead of main, no PR ever filed. Self-provisions GitHub Pages so `casket-pages.yml` stops failing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d49b220 commit 417fd9b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/casket-pages.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,15 @@ jobs:
8080
8181
- name: Setup Pages
8282
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
83+
with:
84+
# Self-provision Pages on first run instead of failing with
85+
# 404 ("Get Pages site failed"). The repo had Pages disabled
86+
# at the GitHub level since the workflow was added; rather
87+
# than maintain that as out-of-band state, let the workflow
88+
# enable it. Idempotent on subsequent runs. The workflow's
89+
# own permissions (pages: write, id-token: write) authorise
90+
# this.
91+
enablement: true
8392

8493
- name: Upload artifact
8594
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0

0 commit comments

Comments
 (0)