Skip to content

Commit

Permalink
Update Render deploy guide with Astro 2.0 Node.js version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed Jan 27, 2023
1 parent 741a5b6 commit c339f4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/en/guides/deploy/render.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ You can deploy your Astro project to [Render](https://render.com/), a service to
4. Give your website a name, select the branch and specify the build command and publish directory
- **build command:** `npm run build`
- **publish directory:** `dist`
- **Environment variables (advanced)**: By default, Render uses Node.js 14.17.0, but Astro [requires a higher version](/en/install/auto/#prerequisites). Add an environment variable with a **Variable key** of `NODE_VERSION` and a **Value** of `16.12.0` or higher to tell Render to use a compatible Node.js version. Alternatively, add a [`.node-version`](https://render.com/docs/node-version) or [`.nvmrc`](https://render.com/docs/node-version) file to your project to specify a Node.js version.
5. Click the **Create Static Site** button

0 comments on commit c339f4f

Please sign in to comment.