Repository navigation
ci(pages): republish the redirector only when it changes - #303
Merged
Merged
Conversation
GitHub Pages keeps serving the last published artifact, but the workflow redeployed the same two redirect/ files on every push to main: 100 github-pages deployments since August for a directory changed once. Run it on changes to redirect/ or the workflow itself, plus workflow_dispatch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chaxus
enabled auto-merge (rebase)
November 2, 2026 03:18
Deploying document with
|
| Latest commit: |
75cac0e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e2c72df5.document-7hm.pages.dev |
| Branch Preview URL: | https://ci-pages-redirector-paths.document-7hm.pages.dev |
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.
pages-build-site.ymlpublishes onlyredirect/(index.html+404.html) to GitHub Pages, so oldranuts.github.io/document/*links forward to edit.chaxus.com with their path and query.It ran on every push to main. That produced 100
github-pagesdeployments since August, whileredirect/has changed once since it shipped on 2026-07-05. GitHub Pages keeps serving the last published artifact, so republishing identical files did nothing.Change
pushnow haspaths: [redirect/**, .github/workflows/pages-build-site.yml].workflow_dispatchis kept for manual republishing.Verification
curl https://ranuts.github.io/document/currently returns the currentredirect/index.html, so the last published artifact is still being served.test/unit/workflow-contract.test.ts: 68 passed. Prettier passes.Record:
docs/explorations/2026-11-02-pages-redirector-paths.md🤖 Generated with Claude Code