Repository navigation
Enable the GitHub Pages site on first deploy - #46
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Post-merge verification for #45 built the documentation site successfully (159 pages) but GitHub Pages deployment failed because the repository did not yet have a Pages site configured.
Changes
actions/configure-pages@v6step to enable the Pages site using the workflow's existingpages: writepermission.pr-behavior-proof
Claim: the Pages workflow can provision the GitHub Actions-backed Pages site on its first deployment.
Surface:
.github/workflows/pages.yml.Scenario: push to
mainafter Pages is absent.Evidence: failing baseline run https://github.com/AyobamiH/clawsweeper/actions/runs/36418403543 built 159 pages, then
configure-pagesreturned Not Found and explicitly recommended theenablementparameter. Local workflow test, formatting, actionlint, and diff checks pass.Limits: GitHub performs the actual one-time enablement only from the trusted main-branch workflow after merge.
No Rube, Blacksmith, browser automation, or model API fallback is introduced.