diff --git a/docs/src/pages/en/guides/deploy.md b/docs/src/pages/en/guides/deploy.md index ac7ec14da5..aef2887d67 100644 --- a/docs/src/pages/en/guides/deploy.md +++ b/docs/src/pages/en/guides/deploy.md @@ -371,7 +371,7 @@ The action will work to deploy your app (watch its progress in your repo's Actio You can deploy your Astro project on [Cloudflare Pages](https://pages.cloudflare.com). You need: - A Cloudflare account. If you don’t already have one, you can create a free Cloudflare account during the process. -- Your app code pushed to a [GitHub](https://github.com) repository. +- Your app code pushed to a [GitHub](https://github.com) or a [GitLab](https://about.gitlab.com/) repository. Then, set up a new project on Cloudflare Pages. @@ -380,7 +380,7 @@ Use the following build settings: - **Framework preset**: `Astro` - **Build command:** `npm run build` - **Build output directory:** `dist` -- **Environment variables (advanced)**: Add an environment variable with the **Variable name** of `NODE_VERSION` and a **Value** of a [Node version that’s compatible with Astro](https://docs.astro.build/installation#prerequisites), since the Cloudflare Pages default version probably won’t work. +- **Environment variables (advanced)**: Currently, Cloudflare Pages supports `NODE_VERSION = 12.18.0` in the Pages build environment by default. Astro requires `14.15.0`, `v16.0.0`, or higher. You can add an environment variable with the **Variable name** of `NODE_VERSION` and a **Value** of a [Node version that’s compatible with Astro](https://docs.astro.build/installation#prerequisites) or by specifying the node version of your project in a `.nvmrc` or `.node-version` file. Then click the **Save and Deploy** button.