Skip to content

Commit 32fff4a

Browse files
authored
docs: Update Netlify deployment (#1781)
1 parent 97a0d2a commit 32fff4a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/deploy.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,12 @@ server {
7777
## Netlify
7878

7979
1. Login to your [Netlify](https://www.netlify.com/) account.
80-
2. In the [dashboard](https://app.netlify.com/) page, click **New site from Git**.
81-
3. Choose a repository where you store your docs, leave the **Build Command** area blank, and 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`.
80+
2. In the [dashboard](https://app.netlify.com/) page, click **Add New Site**.
81+
3. Select Github.
82+
4. Choose the repository where you store your docs, in the **Base Directory** add the subfolder where the files are stored. For example, it should be `docs`.
83+
5. In the **Build Command** area leave it blank.
84+
6. In the **Publish directory** area, if you have added the `docs` in the **Base Directory** you will see the publish directory populated with `docs/`
85+
7. Netlify is smart enough to look for the the `index.html` file inside the `docs/` folder.
8286

8387
### HTML5 router
8488

0 commit comments

Comments
 (0)