fix(ci): stop profile deploys overwriting wiki - #491
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the obsolete Cloudflare Pages deployment workflow from z-shell/.github to ensure this repository can no longer publish to the zsh Pages project (which is owned by z-shell/wiki), preventing future overwrites of the live wiki site.
Changes:
- Deleted
.github/workflows/pages-deployment.yml, which deployed the org profile (profile/) to Cloudflare Pages projectzsh. - Eliminated the only in-repo reference to
cloudflare/pages-action/projectName: "zsh"(verified via repo search).
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.
Summary
z-shell/.github.z-shell/wikias the sole configured deployment owner for Cloudflare Pages projectzsh..githubpushes from replacing the wiki with the Markdown-only organization profile.Root cause
The wiki first configured project
zshon 17 December 2022. The.githubworkflow was added later, on 12 March 2023, already hard-coded to the same project. It had no previous project name.The collision remained dormant while
.githubdeployments failed before reaching Cloudflare. PR #443 removed the failing pnpm build path, and run 27410691451 on 12 June 2026 became the first retained successful profile deployment tozsh. Run 30406990541 repeated the overwrite and left the production aliases returning 404.A wiki workflow dispatch, run 30424725252, has restored production. Deleting this workflow removes the conflicting publisher without inventing or creating an unverified replacement Cloudflare project.
Verification
python3 -B scripts/validate-agent-policy.pypython3 -B -m unittest scripts/test_validate_agent_policy.py(69 tests)git diff --check origin/main..HEADz-shell/.githubworkflow targets projectzshz-shell/wikiremains configured to deploybuildto projectzshwiki.zshell.devandzsh.pages.devreturn HTTP 200 after the restoring wiki deploymentCloses #490