From 6639af8d4c3c6a6455e1f5db8c2db947dcbce3fc Mon Sep 17 00:00:00 2001 From: Harry Manchanda Date: Sat, 17 Dec 2022 20:56:29 +0530 Subject: [PATCH] Docs: Update deployment.md with Firebase, Amplify and Cloudflare (#44092) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This proposes updates based on New Cloud Services that are supporting Next.js. 1. Cloudflare Pages and Firebase are not Static Only Anymore so moved them to respective sections 2. Added AWS Amplify **Please merge this open source contribution if this seems valid to you. 🙏** ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md) Co-authored-by: Lee Robinson <9113740+leerob@users.noreply.github.com> --- docs/deployment.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index eb18e43310f5..f17c1fce0021 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -107,20 +107,21 @@ The following services support Next.js `v12+`. Below, you’ll find examples or ### Static Only -The following services support deploying Next.js using [`next export`](/docs/advanced-features/static-html-export.md). +The following services only support deploying Next.js using [`next export`](/docs/advanced-features/static-html-export.md). -- [Cloudflare Pages](https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/) -- [Firebase](https://github.com/vercel/next.js/tree/canary/examples/with-firebase-hosting) - [GitHub Pages](https://github.com/vercel/next.js/tree/canary/examples/github-pages) You can also manually deploy the [`next export`](/docs/advanced-features/static-html-export.md) output to any static hosting provider, often through your CI/CD pipeline like GitHub Actions, Jenkins, AWS CodeBuild, Circle CI, Azure Pipelines, and more. ### Serverless +- [AWS Amplify](https://docs.aws.amazon.com/amplify/latest/userguide/ssr-Amplify-support.html) - [AWS Serverless](https://github.com/serverless-nextjs/serverless-next.js) - [Azure Static Web Apps](https://learn.microsoft.com/en-us/azure/static-web-apps/nextjs) -- [Terraform](https://github.com/milliHQ/terraform-aws-next-js) +- [Cloudflare Pages](https://developers.cloudflare.com/pages/framework-guides/deploy-a-nextjs-site/) +- [Firebase](https://firebase.google.com/docs/hosting/nextjs) - [Netlify](https://docs.netlify.com/integrations/frameworks/next-js) +- [Terraform](https://github.com/milliHQ/terraform-aws-next-js) > **Note:** Not all serverless providers implement the [Next.js Build API](/docs/deployment.md#nextjs-build-api) from `next start`. Please check with the provider to see what features are supported.