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 @@
Deploying your Docusaurus project to ZEIT Now will provide you with various benefits in the areas of performance and ease of use.
+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:
npm i -g now
+npm i -g vercel
- 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