mirror of
https://gitee.com/docsifyjs/docsify.git
synced 2024-12-01 19:50:32 +08:00
docs: adds deployment to Kinsta Static Site Hosting (#2299)
Co-authored-by: Koy Zhuang <koy@ko8e24.top>
This commit is contained in:
parent
95901eb8a8
commit
38944bd41f
@ -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**.
|
||||
|
Loading…
Reference in New Issue
Block a user