Next.js deployment to Cloudflare Workers
Deploy the Next.js template to Cloudflare Workers with your existing Supabase database.
The Next.js template adds a Cloudflare Workers build using OpenNext. Connect the Worker to your existing Supabase database through Hyperdrive and configure Auth URLs and a Stripe webhook destination for the Worker origin. The existing Vercel deployment path remains available.
Follow Deploy Next.js to Cloudflare to configure, build and verify your app. Test the account and billing flows you enable before accepting live payments. Google sign-in, sandbox billing and real inbox delivery were checked on Workers; GitHub sign-in has not yet been verified.
Apply pending database migrations before deploying updates. Rolling back Worker code does not roll back database migrations or data.