Skip to content

Commit

Permalink
docs: Update Netlify deployment (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
ezeamaka2 authored Dec 16, 2024
1 parent 97a0d2a commit 32fff4a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ server {
## Netlify

1. Login to your [Netlify](https://www.netlify.com/) account.
2. In the [dashboard](https://app.netlify.com/) page, click **New site from Git**.
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`.
2. In the [dashboard](https://app.netlify.com/) page, click **Add New Site**.
3. Select Github.
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`.
5. In the **Build Command** area leave it blank.
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/`
7. Netlify is smart enough to look for the the `index.html` file inside the `docs/` folder.

### HTML5 router

Expand Down

0 comments on commit 32fff4a

Please sign in to comment.