Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit a74f2f9

Browse files
committed
docs: recommend render.com
1 parent a6eb5b1 commit a74f2f9

File tree

1 file changed

+25
-15
lines changed

1 file changed

+25
-15
lines changed

website/docs/guide/deployment.md

+25-15
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,31 @@
22

33
Keep in mind, it's just a static HTML file that can be served anywhere.
44

5-
## ZEIT Now <Badge type="success">Recommended</Badge>
5+
## Render <Badge type="success">Recommended</Badge>
6+
7+
Render offers [free static site hosting](https://render.com/docs/static-sites) with fully managed SSL, a global CDN and continuous auto deploys from GitHub.
8+
9+
1. Create a new Web Service on Render, and give Render’s GitHub app permission to access your new repo.
10+
2. Use the following values during creation:
11+
- Environment: Static Site
12+
- Build Command: Leave it blank
13+
- Publish Directory: The directory to your `index.html`, for example it should be `docs` if you populated it at `docs/index.html`.
14+
15+
## Netlify
16+
17+
1. Login to your [Netlify](https://www.netlify.com/) account.
18+
2. In the [dashboard](https://app.netlify.com/) page, click __New site from Git__.
19+
3. Choose a repository where you store your docs, leave the __Build Command__ area blank, fill in the __Publish directory__ area with the directory of your `index.html`, for example it should be `docs` if you populated it at `docs/index.html`.
20+
21+
## GitHub Pages
22+
23+
The easiest way to use GitHub Pages is to populate all your files inside `./docs` folder on the master branch, and then use this folder for GitHub Pages:
24+
25+
<ImageZoom url="https://i.loli.net/2018/06/11/5b1e0da0c173a.png" alt="github pages" :border="true" />
26+
27+
However you can still use `gh-pages` branch or even `master` branch to serve your docs, it all depends on your needs.
28+
29+
## ZEIT Now
630

731
[ZEIT Now](https://zeit.co/now) is a platform for Global Serverless Deployments, it's also perfectly suitable for deploying a static website with or without build process.
832

@@ -25,17 +49,3 @@ Then [install Now](https://zeit.co/docs/v2/getting-started/installation/) on you
2549
After that, you can run the command `now` in your project and you're all set.
2650

2751
Make sure to check out Now's [GitHub Integration](https://zeit.co/docs/v2/integrations/now-for-github/) if you want automatic deployments on every push and pull request.
28-
29-
## Netlify <Badge type="success">Recommended</Badge>
30-
31-
1. Login to your [Netlify](https://www.netlify.com/) account.
32-
2. In the [dashboard](https://app.netlify.com/) page, click __New site from Git__.
33-
3. Choose a repository where you store your docs, leave the __Build Command__ area blank, fill in the __Publish directory__ area with the directory of your `index.html`, for example it should be `docs` if you populated it at `docs/index.html`.
34-
35-
## GitHub Pages
36-
37-
The easiest way to use GitHub Pages is to populate all your files inside `./docs` folder on the master branch, and then use this folder for GitHub Pages:
38-
39-
<ImageZoom url="https://i.loli.net/2018/06/11/5b1e0da0c173a.png" alt="github pages" :border="true" />
40-
41-
However you can still use `gh-pages` branch or even `master` branch to serve your docs, it all depends on your needs.

0 commit comments

Comments
 (0)