diff options
author | 2022-01-10 22:59:21 +0100 | |
---|---|---|
committer | 2022-01-10 16:59:21 -0500 | |
commit | 263e39a94d51004dfe0ad0f2f2e930ddd766265f (patch) | |
tree | 5dbef63040af8960c7a4715ee241fbcb4e2fcb30 /docs/src | |
parent | 296634b518fe73342569aa146b635b4f2d65faeb (diff) | |
download | astro-263e39a94d51004dfe0ad0f2f2e930ddd766265f.tar.gz astro-263e39a94d51004dfe0ad0f2f2e930ddd766265f.tar.zst astro-263e39a94d51004dfe0ad0f2f2e930ddd766265f.zip |
Update Cloudflare Pages guide (#2345)
See https://developers.cloudflare.com/pages/framework-guides/astro
Diffstat (limited to 'docs/src')
-rw-r--r-- | docs/src/pages/en/guides/deploy.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/pages/en/guides/deploy.md b/docs/src/pages/en/guides/deploy.md index 9427e3aa6..ac7ec14da 100644 --- a/docs/src/pages/en/guides/deploy.md +++ b/docs/src/pages/en/guides/deploy.md @@ -377,8 +377,8 @@ Then, set up a new project on Cloudflare Pages. Use the following build settings: -- **Framework preset**: `None` (As of this writing, Astro is not listed.) -- **Build command:** `astro build` or `npm run build` +- **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. |