Deploying
Putting a site online: static and server-rendered Astro, and Next.js through OpenNext or vinext, on Cloudflare Workers. Every route was built and dry-run deployed before we wrote it down.
- Deploy an Astro site to Cloudflare WorkersA static Astro site needs no adapter: a four-line wrangler.jsonc and wrangler deploy. When pages render on request, add @astrojs/cloudflare. Both tested.
- Deploy Next.js to Cloudflare Workers: OpenNext or vinextTwo routes, both built and dry-run deployed on Next.js 16: OpenNext for the real Next.js build, vinext for new apps on Vite. Which to pick and the gotchas.