PingCAP Docsite Preview Help

Deploy your website using Netlify

This document describes how to deploy your documentation website using Netlify.

Steps

  1. Log in to Netlify.

  2. In the Sites page, click Add new site > Import an existing project.

  3. Select Deploy with GitHub and search for your fork (pingcap-docsite-preview).

  4. In the Build settings section, fill in the following information:

    • Build command: ./build.sh

    • Publish directory: website-docs/public

  5. Click Deploy pingcap-docsite-preview.

  6. 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.

      Last modified: 01 April 2025