docs: adds deployment to Kinsta Static Site Hosting (#2299)

Co-authored-by: Koy Zhuang <koy@ko8e24.top>
This commit is contained in:
Maciek Palmowski 2024-09-21 13:54:31 +02:00 committed by GitHub
parent 95901eb8a8
commit 38944bd41f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -189,3 +189,23 @@ Read more in the [Stormkit Documentation](https://stormkit.io/docs).
```sh
docker run -itp 3000:3000 --name=docsify -v $(pwd):/docs docsify/demo
```
## Kinsta Static Site Hosting
You can deploy **Docsify** as a Static Site on [Kinsta](https://kinsta.com/static-site-hosting/).
1. Login or create an account to view your [MyKinsta](https://my.kinsta.com/) dashboard.
2. Authorize Kinsta with your Git provider.
3. Select **Static Sites** from the left sidebar and press **Add sites**.
4. Select the repository and branch you want to deploy.
5. During the build settings, Kinsta will automatically try to fill out the **Build command**, **Node version**, and **Publish directory**. If it won't, fill out the following:
- Build command: leave empty
- Node version: leave on default selection or a specific version (e.g. `18.16.0`)
- Publish directory: `docs`
6. Click the **Create site**.