Update deploy.md with information how to deploy to render.com (#1391)

This commit is contained in:
Roman Walters 2021-09-23 19:49:56 +02:00 committed by GitHub
parent 191c4556d9
commit 7414113065
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -335,6 +335,18 @@ Use the following build settings:
Then click the **Save and Deploy** button.
## Render
You can deploy your Astro project on [Render](https://render.com/) following these steps:
1. Create a [render.com account](https://dashboard.render.com/) and sign in
2. Click the **New +** button from your dashboard and select **Static Site**
3. Connect your [GitHub](https://github.com/) or [GitLab](https://about.gitlab.com/) repository or alternatively enter the public URL of a public repository
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`
6. Click the **Create Static Site** button
## Credits
This guide was originally based off [Vite](https://vitejs.dev/)s well-documented static deploy guide.