chore: migrate deployment from Vercel to Cloudflare Workers#38
chore: migrate deployment from Vercel to Cloudflare Workers#38CryptoFewka wants to merge 5 commits intomainfrom
Conversation
- Add wrangler.toml for Cloudflare Workers static assets deployment - Remove vercel.json (no longer needed) - Remove push-to-main trigger from build.yml (Cloudflare Builds owns deployments)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: getoptimum/coderabbit/.coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThis change removes the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 9 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (9 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | 0c2ba6b | Commit Preview URL Branch Preview URL |
Apr 21 2026, 07:18 PM |
Summary
wrangler.tomlto configure a Cloudflare Workers static assets deployment (name:docs, output:.vitepress/dist)vercel.json— no longer neededpush: branchestrigger frombuild.yml— Cloudflare Workers Builds now owns all deployments onmainWhat's needed before merging
The following manual steps must be completed in the Cloudflare dashboard before this is live:
mainyarn install && make build.vitepress/distdocsWorker → Settings → Domains & Routes → Add Custom Domain →docs.getoptimum.xyzdocs.getoptimum.xyzonly after confirming the Worker serves the site correctlyPR previews
Once connected, Cloudflare will automatically deploy a preview worker for each PR and post the preview URL as a comment — no GitHub secrets or deploy workflows required.
Test plan
maintriggers a Cloudflare build and deploymenthttps://docs.getoptimum.xyzloads correctly after DNS cutoverbuild.ymlstill runs on PRs for CI validationSummary by CodeRabbit