Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Render deploy guide to account for Astro 2.0 Node.js version requirement #2487

Merged
merged 1 commit into from
Jan 29, 2023

Conversation

HiDeoo
Copy link
Member

@HiDeoo HiDeoo commented Jan 27, 2023

What kind of changes does this PR include?

  • New or updated content

Description

This PR is a follow-up of withastro/astro#6004 and this Discord support thread.

It is currently not possible to deploy a project using Astro 2.0 to Render by blindly following the guide due to the fact that Astro 2.0 requires at least Node.js 16.12.0 and Render using by default Node.js version 14.

The proposed change is heavily inspired by the existing Cloudflare Pages deploy guide which has the same issue that is solved using an environment variable specifying the Node.js version added after clicking on an Advanced button in the UI, which is the exact same process on Render. Other solutions are also suggested with links to the relevant Render documentation describing how to use them.

@netlify
Copy link

netlify bot commented Jan 27, 2023

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c339f4f
🔍 Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/63d3d5a0ca79290009ae4075
😎 Deploy Preview https://deploy-preview-2487--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Jutanium
Copy link
Contributor

Thanks for this - this is a necessary disclaimer, and thanks for using our existing format. (Interesting that both platforms hide this behind an advanced button!)

@Jutanium Jutanium merged commit ac09ef2 into withastro:main Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants