Deploy www.greenfielddemo.com from Cloudflare Workers - #30
Merged
Conversation
…f AWS Rename the Vite output dir S3/ to dist/, add wrangler.toml for Workers static assets, a small worker that proxies POST /api/event to Plausible (CloudFront did this before), and public/_headers with the CSP. Remove the AWS S3 sync workflow; Cloudflare Workers Builds deploys main on merge. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TUaEMyd8MGXZpFA4jHVm6E
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
www-greenfielddemo-com | 7915a18 | Sep 06 2026, 06:02 PM |
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.
Do not merge until the Cloudflare side is live.
mainis production for this repo and the AWS sync workflow is removed here.Same shape as hellocoop/hello.dev#110 and hellocoop/playground#100:
S3/→dist/;wrangler.tomlfor Workers static assets (custom domain route commented out until attached).worker/index.jsproxiesPOST /api/eventto Plausible, which CloudFront used to do.public/_headerscarries the CSP fromCDN/cdk/lib/csp.ts..github/workflows/sync.ymlremoved;merge.ymlstays as the required PR check..nvmrc24, wrangler dev dependency,deployscript, README section.Cutover: Workers Builds project
www-greenfielddemo-comconnected to this repo; delete thewww.greenfielddemo.comCloudFront CNAME in the Cloudflare zone and attach the custom domain; apex redirect rule on the zone; flip production branch tomain; merge; destroyGreenfieldStack.Verified locally:
npm run buildintodist/andwrangler deploy --dry-runboth pass.🤖 Generated with Claude Code
https://claude.ai/code/session_01TUaEMyd8MGXZpFA4jHVm6E