From 0a4825d3491700734634a8495a2298b55463ec9b Mon Sep 17 00:00:00 2001 From: Kelvin Oghenerhoro Omereshone Date: Sat, 18 Jun 2022 11:54:41 +0100 Subject: [PATCH] Add deployment guide for Render --- docs/guide/deploying.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/guide/deploying.md b/docs/guide/deploying.md index f67faf81..3c7a2867 100644 --- a/docs/guide/deploying.md +++ b/docs/guide/deploying.md @@ -278,3 +278,11 @@ With Auto Minify, Cloudflare will automatically remove the comments in the html If it gets removed, then you will probably see a hydration mismatch error. ::: + +## Render +1. On [Render dashboard](https://dashboard.render.com), setup a new [static site](https://render.com/docs/static-sites) project from GitHub with the following settings: + +* Build Command: `vitepress build docs` or `yarn docs:build` or `npm run docs:build` +* Publish directory: docs/.vitepress/dist + +2. Hit the **Create Static Site** button