fix(worker): repoint pilot-publish at pilot-protocol/website with post-extraction paths#103
Merged
Merged
Conversation
…t-extraction paths The publish worker was imported verbatim from the monorepo era: it committed blog posts to TeoSlayer/pilotprotocol (old owner, survives only via redirect) under web/src/... paths that no longer exist anywhere — the website extraction moved content to src/pages, src/data and public/. Every publish through this worker has been broken since; recent posts landed via hand-made PRs instead. - wrangler.toml: GITHUB_OWNER pilot-protocol, GITHUB_REPO website - index.ts: web/src/pages/blog → src/pages/blog, web/public/blog/banners → public/blog/banners, web/src/data/blogPosts.ts → src/data/blogPosts.ts All 88 worker tests pass. Note: the deployed worker's GITHUB_TOKEN secret may be scoped to the old repo — if publishes 403 after deploy, re-mint it with contents:write on pilot-protocol/website. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
🚀 Preview deployed to Cloudflare Pages
|
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 publish worker was imported verbatim from the monorepo era: it
committed blog posts to TeoSlayer/pilotprotocol (old owner, survives
only via redirect) under web/src/... paths that no longer exist
anywhere — the website extraction moved content to src/pages, src/data
and public/. Every publish through this worker has been broken since;
recent posts landed via hand-made PRs instead.
→ public/blog/banners, web/src/data/blogPosts.ts → src/data/blogPosts.ts
All 88 worker tests pass. Note: the deployed worker's GITHUB_TOKEN
secret may be scoped to the old repo — if publishes 403 after deploy,
re-mint it with contents:write on pilot-protocol/website.
Co-Authored-By: Claude Fable 5 noreply@anthropic.com