Fix GitHub Pages deploy job by replacing built-in workflow with custom one - #13
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job deploy
Fix GitHub Pages deploy job by replacing built-in workflow with custom one
Jul 3, 2026
huwdp
marked this pull request as ready for review
July 3, 2026 21:33
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.
The built-in
pages-build-deploymentdynamic workflow was failing: on the first attempt the deployment stayed stuck indeployment_queuedfor the full 10-minute timeout; on the re-run, only thedeployjob was retried, so thegithub-pagesartifact uploaded bybuildin attempt 1 had expired, causing an immediate failure.Changes
.github/workflows/deploy.yml— a self-contained Pages deployment workflow that runs checkout, artifact upload, and deploy in a single job, so the artifact is always fresh when the deploy step executes. Eliminates the splitbuild/deployjob architecture that makes partial reruns fragile.Concurrency group
"pages"withcancel-in-progress: falseprevents overlapping deployments. OIDC permissions (id-token: write,pages: write) match whatdeploy-pagesrequires.