[migrate] replace Vercel with CloudFlare workers to deploy - #12
Merged
TechQuery merged 3 commits intoAug 5, 2026
Merged
Conversation
Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate GoodActionHub.org to CloudFlare workers
Migrate deployment from Vercel to CloudFlare Workers
Aug 4, 2026
[fix] 3 detail bugs
Cloudflare Preview Deployment
Wrangler Output⛅️ wrangler 4.118.0 |
TechQuery
marked this pull request as ready for review
August 5, 2026 00:03
TechQuery
approved these changes
Aug 5, 2026
TechQuery
deleted the
copilot/migrate-goodactionhub-to-cloudflare-workers
branch
August 5, 2026 00:04
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.
Replaces the Vercel deployment pipeline with CloudFlare Workers using
@opennextjs/cloudflare, mirroring the approach from idea2app/MobX-RESTful-Shadcn#16.New files
open-next.config.ts— minimal CloudFlare adapter config viadefineCloudflareConfig()wrangler.jsonc— worker name, compatibility flags (nodejs_compat),.open-next/worker.jsentry, and assets bindingpackage.json@opennextjs/cloudflare(dep) andwrangler(devDep)preview,deploy,cf-typegen.gitignore/.open-next/,.wrangler/,cloudflare-env.d.tspnpm-workspace.yamlesbuildandworkerdtoallowBuildsCI workflow (
deploy.yml)pnpm run deployon default branchopennextjs-cloudflare build+wrangler versions uploadwith a sanitized branch slug as preview alias, then posts a summary comment to the associated PRHuman changes