You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
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:
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
6
30
7
31
[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.
8
32
@@ -25,17 +49,3 @@ Then [install Now](https://zeit.co/docs/v2/getting-started/installation/) on you
25
49
After that, you can run the command `now` in your project and you're all set.
26
50
27
51
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.
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:
0 commit comments