Repository navigation
ci(docs): deploy to the emulate Cloudflare Pages project - #41
Merged
Merged
Conversation
The emulate-docs Pages project no longer exists, so every Docs run failed at the deploy step. Point the workflow, wrangler config, and README at the existing emulate project.
Contributor
📖 Docs preview deployed
Commit: 32ce8fe |
Up to standards ✅🟢 Issues
|
|
amondnet
marked this pull request as ready for review
October 17, 2026 16:10
There was a problem hiding this comment.
No issues found across 3 files
Architecture diagram
sequenceDiagram
participant GH as GitHub Actions
participant CF as Cloudflare Pages
participant Site as Static Site (docs)
Note over GH,CF: Docs Deployment Pipeline
GH->>GH: Trigger on push (main / PR)
GH->>GH: Checkout repo
GH->>GH: Set up Bun
GH->>GH: Install dependencies
GH->>GH: Build static site (bun run build)
alt Pull Request event
GH->>GH: Deploy preview build
GH->>CF: pages deploy dist<br/>--project-name=emulate<br/>--branch=<head_ref>
else Push to main
GH->>GH: Deploy production build
GH->>CF: pages deploy dist<br/>--project-name=emulate<br/>--branch=main
end
CF->>CF: Lookup Pages project "emulate"
alt Project found
CF->>CF: Upload dist/ to Pages project
CF-->>GH: Preview/Production URL
GH-->>GH: Comment preview URL on PR (if applicable)
Site-->>CF: Serve static assets
else Project not found
CF-->>GH: Error: Pages project does not exist
GH-->>GH: Mark deploy step as failed
end
Note over GH,CF: Manual deployment fallback<br/>via bun run deploy<br/>uses wrangler.jsonc name field
[High impact] The PR appears safe to merge. SummaryPoints documentation deployments at the Cloudflare Pages project
Reviews (1) · Last reviewed commit: "ci(docs): deploy to the emulate Cloudfla..." · Reviewed by Greptile |
This branch was successfully deployed
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
The Docs workflow's
Deploy to Cloudflare Pagesstep has failed on every run since PR #34 because the Pages projectemulate-docsdoesn't exist:The project in Cloudflare is named
emulate. This PR points every reference at it:.github/workflows/docs.yml:--project-name=emulatewebsite/wrangler.jsonc:name(used by manualbun run deploy)website/README.md: deployment notewebsite/package.json'snameis the npm package name and is unchanged.Test plan
emulateprojectSummary by cubic
Fixes the Docs workflow's
Deploy to Cloudflare Pagesstep, which failed on every run because theemulate-docsPages project no longer exists in Cloudflare.Points every reference at the existing
emulateproject:.github/workflows/docs.yml: deploy command uses--project-name=emulatewebsite/wrangler.jsonc:nameupdatedwebsite/README.md: deployment note updatedWritten for commit 32ce8fe. Summary will update on new commits.