From cf8019f02e501a8ac81bbdf92785e37ec9ebcef0 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Wed, 2 Sep 2020 10:42:35 +0000 Subject: [PATCH] Deploy website Deploy website version based on 8f24a0a14964813e7c2f9a2117c1a1828a20dc09 --- docs/en/next/publishing.html | 23 +++++++++++++---------- docs/en/next/publishing/index.html | 23 +++++++++++++---------- docs/fr/next/publishing.html | 23 +++++++++++++---------- docs/fr/next/publishing/index.html | 23 +++++++++++++---------- docs/ko/next/publishing.html | 23 +++++++++++++---------- docs/ko/next/publishing/index.html | 23 +++++++++++++---------- docs/pt-BR/next/publishing.html | 23 +++++++++++++---------- docs/pt-BR/next/publishing/index.html | 23 +++++++++++++---------- docs/ro/next/publishing.html | 23 +++++++++++++---------- docs/ro/next/publishing/index.html | 23 +++++++++++++---------- docs/ru/next/publishing.html | 23 +++++++++++++---------- docs/ru/next/publishing/index.html | 23 +++++++++++++---------- docs/zh-CN/next/publishing.html | 23 +++++++++++++---------- docs/zh-CN/next/publishing/index.html | 23 +++++++++++++---------- 14 files changed, 182 insertions(+), 140 deletions(-) diff --git a/docs/en/next/publishing.html b/docs/en/next/publishing.html index 372fda186a..62e1c630a6 100644 --- a/docs/en/next/publishing.html +++ b/docs/en/next/publishing.html @@ -96,27 +96,27 @@

Hosting on a Service:

-

Using ZEIT Now

-

Deploying your Docusaurus project to ZEIT Now will provide you with various benefits in the areas of performance and ease of use.

+

Using Vercel

+

Deploying your Docusaurus project to Vercel will provide you with various benefits in the areas of performance and ease of use.

Most importantly, however, deploying a Docusaurus project only takes a couple of seconds:

    -
  1. First, install their command-line interface:
  2. +
  3. First, install their command-line interface:
-
npm i -g now
+
npm i -g vercel
 
  1. Run a single command inside the root directory of your project:
-
now
+
vercel
 

That's all. Your docs will automatically be deployed.

-

Note that the directory structure Now supports is slightly different from the default directory structure of a Docusaurus project - The docs directory has to be within the website directory, ideally following the directory structure in this example. You will also have to specify a customDocsPath value in siteConfig.js. Take a look at the now-examples repository for a Docusaurus project.

+

Note that the directory structure Now supports is slightly different from the default directory structure of a Docusaurus project - The docs directory has to be within the website directory, ideally following the directory structure in this example. You will also have to specify a customDocsPath value in siteConfig.js. Take a look at the now-examples repository for a Docusaurus project.

Using GitHub Pages

Docusaurus was designed to work well with one of the most popular hosting solutions for open source projects: GitHub Pages.

@@ -335,8 +335,11 @@ GH_TOKEN: $(GH_TOKEN) displayName: 'yarn install and build'
-

Hosting on ZEIT Now

-

With ZEIT Now, you can deploy your site and connect it to GitHub or GitLab to automatically receive a new deployment every time you push a commit.

+

Hosting on Vercel

+

Deploying your Docusaurus project to Vercel will provide you with various benefits in the areas of performance and ease of use.

+

To deploy your Docusaurus project with a Vercel for Git Integration, make sure it has been pushed to a Git repository.

+

Import the project into Vercel using the Import Flow. During the import, you will find all relevant options preconfigured for you; however, you can choose to change any of these options, a list of which can be found here.

+

After your project has been imported, all subsequent pushes to branches will generate Preview Deployments, and all changes made to the Production Branch (commonly "main") will result in a Production Deployment.

Hosting on Netlify

Steps to configure your Docusaurus-powered site on Netlify.

    @@ -386,7 +389,7 @@

    Alter your siteConfig.js to add a property 'githubHost' which represents the GitHub Enterprise hostname. Alternatively, set an environment variable GITHUB_HOST when executing the publish command.

    -
    Last updated on 7/24/2020 by Anshul Goyal