Deploy your website using Netlify
This document describes how to deploy your documentation website using Netlify.
Steps
Log in to Netlify.
In the Sites page, click Add new site > Import an existing project.
Select Deploy with GitHub and search for your fork (
pingcap-docsite-preview
).In the Build settings section, fill in the following information:
Build command:
./build.sh
Publish directory:
website-docs/public
Click Deploy
pingcap-docsite-preview
.After approximately 5 minutes, the website is deployed. You can get the preview URL from your Netlify project page.
Note
Each time you create a new branch or commit new changes in your fork, Netlify automatically deploys the branch to a preview environment. You can get preview URLs in the Deploys page of your Netlify project.
For more information, see Netlify documentation.