From 2a3fe865798c6ef6ed14e67dd12e577fc7b4ae40 Mon Sep 17 00:00:00 2001 From: Sam Ko Date: Tue, 1 Sep 2020 03:14:39 -0700 Subject: [PATCH] docs(v2): update Deploy to Vercel guide (#3344) --- website/docs/deployment.md | 18 +++------------ .../version-2.0.0-alpha.54/deployment.md | 22 +++++-------------- .../version-2.0.0-alpha.55/deployment.md | 22 +++++-------------- .../version-2.0.0-alpha.56/deployment.md | 22 +++++-------------- .../version-2.0.0-alpha.58/deployment.md | 18 +++------------ .../version-2.0.0-alpha.60/deployment.md | 18 +++------------ .../version-2.0.0-alpha.61/deployment.md | 18 +++------------ 7 files changed, 27 insertions(+), 111 deletions(-) diff --git a/website/docs/deployment.md b/website/docs/deployment.md index 3023e0f338..99c4239a6e 100644 --- a/website/docs/deployment.md +++ b/website/docs/deployment.md @@ -286,23 +286,11 @@ Make sure to disable Netlify setting `Pretty URLs` to prevent lowercased URLs, u Deploying your Docusaurus project to [Vercel](https://vercel.com/) will provide you with [various benefits](https://vercel.com/) in the areas of performance and ease of use. -Most importantly, however, deploying a Docusaurus project only takes a couple of seconds: +To deploy your Docusaurus project with a [Vercel for Git Integration](https://vercel.com/docs/git-integrations), make sure it has been pushed to a Git repository. -1. First, install their [command-line interface](https://vercel.com/download): +Import the project into Vercel using the [Import Flow](https://vercel.com/import/git). 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](https://vercel.com/docs/build-step#build-&-development-settings). -```bash -npm i -g vercel -``` - -1. Run a single command inside the root directory of your project: - -```bash -vercel -``` - -**That's all.** Your docs will automatically be deployed. - -Now you can connect your site to [GitHub](https://zeit.co/github) or [GitLab](https://zeit.co/gitlab) to automatically receive a new deployment every time you push a commit. +After your project has been imported, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/platform/deployments#preview), and all changes made to the [Production Branch](https://vercel.com/docs/git-integrations#production-branch) (commonly "main") will result in a [Production Deployment](https://vercel.com/docs/platform/deployments#production). ## Deploying to Render diff --git a/website/versioned_docs/version-2.0.0-alpha.54/deployment.md b/website/versioned_docs/version-2.0.0-alpha.54/deployment.md index 5c38f39c3d..51a5819382 100644 --- a/website/versioned_docs/version-2.0.0-alpha.54/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.54/deployment.md @@ -140,27 +140,15 @@ Make sure to disable Netlify setting `Pretty URLs` to prevent lowercased URLs, u ::: -## Deploying to ZEIT Now +## Deploying to Vercel -Deploying your Docusaurus project to [ZEIT Now](https://zeit.co/now) will provide you with [various benefits](https://zeit.co/now) in the areas of performance and ease of use. +Deploying your Docusaurus project to [Vercel](https://vercel.com/) will provide you with [various benefits](https://vercel.com/) in the areas of performance and ease of use. -Most importantly, however, deploying a Docusaurus project only takes a couple seconds: +To deploy your Docusaurus project with a [Vercel for Git Integration](https://vercel.com/docs/git-integrations), make sure it has been pushed to a Git repository. -1. First, install their [command-line interface](https://zeit.co/download): +Import the project into Vercel using the [Import Flow](https://vercel.com/import/git). 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](https://vercel.com/docs/build-step#build-&-development-settings). -```bash -npm i -g now -``` - -2. Run a single command inside the root directory of your project: - -```bash -now -``` - -**That's all.** Your docs will automatically be deployed. - -Now you can connect your site to [GitHub](https://zeit.co/github) or [GitLab](https://zeit.co/gitlab) to automatically receive a new deployment every time you push a commit. +After your project has been imported, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/platform/deployments#preview), and all changes made to the [Production Branch](https://vercel.com/docs/git-integrations#production-branch) (commonly "main") will result in a [Production Deployment](https://vercel.com/docs/platform/deployments#production). ## Deploying to Render diff --git a/website/versioned_docs/version-2.0.0-alpha.55/deployment.md b/website/versioned_docs/version-2.0.0-alpha.55/deployment.md index 1f281157fb..9d73e8c032 100644 --- a/website/versioned_docs/version-2.0.0-alpha.55/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.55/deployment.md @@ -210,27 +210,15 @@ Make sure to disable Netlify setting `Pretty URLs` to prevent lowercased URLs, u ::: -## Deploying to ZEIT Now +## Deploying to Vercel -Deploying your Docusaurus project to [ZEIT Now](https://zeit.co/now) will provide you with [various benefits](https://zeit.co/now) in the areas of performance and ease of use. +Deploying your Docusaurus project to [Vercel](https://vercel.com/) will provide you with [various benefits](https://vercel.com/) in the areas of performance and ease of use. -Most importantly, however, deploying a Docusaurus project only takes a couple of seconds: +To deploy your Docusaurus project with a [Vercel for Git Integration](https://vercel.com/docs/git-integrations), make sure it has been pushed to a Git repository. -1. First, install their [command-line interface](https://zeit.co/download): +Import the project into Vercel using the [Import Flow](https://vercel.com/import/git). 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](https://vercel.com/docs/build-step#build-&-development-settings). -```bash -npm i -g now -``` - -1. Run a single command inside the root directory of your project: - -```bash -now -``` - -**That's all.** Your docs will automatically be deployed. - -Now you can connect your site to [GitHub](https://zeit.co/github) or [GitLab](https://zeit.co/gitlab) to automatically receive a new deployment every time you push a commit. +After your project has been imported, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/platform/deployments#preview), and all changes made to the [Production Branch](https://vercel.com/docs/git-integrations#production-branch) (commonly "main") will result in a [Production Deployment](https://vercel.com/docs/platform/deployments#production). ## Deploying to Render diff --git a/website/versioned_docs/version-2.0.0-alpha.56/deployment.md b/website/versioned_docs/version-2.0.0-alpha.56/deployment.md index 1f281157fb..9d73e8c032 100644 --- a/website/versioned_docs/version-2.0.0-alpha.56/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.56/deployment.md @@ -210,27 +210,15 @@ Make sure to disable Netlify setting `Pretty URLs` to prevent lowercased URLs, u ::: -## Deploying to ZEIT Now +## Deploying to Vercel -Deploying your Docusaurus project to [ZEIT Now](https://zeit.co/now) will provide you with [various benefits](https://zeit.co/now) in the areas of performance and ease of use. +Deploying your Docusaurus project to [Vercel](https://vercel.com/) will provide you with [various benefits](https://vercel.com/) in the areas of performance and ease of use. -Most importantly, however, deploying a Docusaurus project only takes a couple of seconds: +To deploy your Docusaurus project with a [Vercel for Git Integration](https://vercel.com/docs/git-integrations), make sure it has been pushed to a Git repository. -1. First, install their [command-line interface](https://zeit.co/download): +Import the project into Vercel using the [Import Flow](https://vercel.com/import/git). 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](https://vercel.com/docs/build-step#build-&-development-settings). -```bash -npm i -g now -``` - -1. Run a single command inside the root directory of your project: - -```bash -now -``` - -**That's all.** Your docs will automatically be deployed. - -Now you can connect your site to [GitHub](https://zeit.co/github) or [GitLab](https://zeit.co/gitlab) to automatically receive a new deployment every time you push a commit. +After your project has been imported, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/platform/deployments#preview), and all changes made to the [Production Branch](https://vercel.com/docs/git-integrations#production-branch) (commonly "main") will result in a [Production Deployment](https://vercel.com/docs/platform/deployments#production). ## Deploying to Render diff --git a/website/versioned_docs/version-2.0.0-alpha.58/deployment.md b/website/versioned_docs/version-2.0.0-alpha.58/deployment.md index 34ebd739de..7120128944 100644 --- a/website/versioned_docs/version-2.0.0-alpha.58/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.58/deployment.md @@ -227,23 +227,11 @@ Make sure to disable Netlify setting `Pretty URLs` to prevent lowercased URLs, u Deploying your Docusaurus project to [Vercel](https://vercel.com/) will provide you with [various benefits](https://vercel.com/) in the areas of performance and ease of use. -Most importantly, however, deploying a Docusaurus project only takes a couple of seconds: +To deploy your Docusaurus project with a [Vercel for Git Integration](https://vercel.com/docs/git-integrations), make sure it has been pushed to a Git repository. -1. First, install their [command-line interface](https://vercel.com/download): +Import the project into Vercel using the [Import Flow](https://vercel.com/import/git). 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](https://vercel.com/docs/build-step#build-&-development-settings). -```bash -npm i -g vercel -``` - -1. Run a single command inside the root directory of your project: - -```bash -vercel -``` - -**That's all.** Your docs will automatically be deployed. - -Now you can connect your site to [GitHub](https://zeit.co/github) or [GitLab](https://zeit.co/gitlab) to automatically receive a new deployment every time you push a commit. +After your project has been imported, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/platform/deployments#preview), and all changes made to the [Production Branch](https://vercel.com/docs/git-integrations#production-branch) (commonly "main") will result in a [Production Deployment](https://vercel.com/docs/platform/deployments#production). ## Deploying to Render diff --git a/website/versioned_docs/version-2.0.0-alpha.60/deployment.md b/website/versioned_docs/version-2.0.0-alpha.60/deployment.md index 5ec5ff706f..3e84b14a0c 100644 --- a/website/versioned_docs/version-2.0.0-alpha.60/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.60/deployment.md @@ -286,23 +286,11 @@ Make sure to disable Netlify setting `Pretty URLs` to prevent lowercased URLs, u Deploying your Docusaurus project to [Vercel](https://vercel.com/) will provide you with [various benefits](https://vercel.com/) in the areas of performance and ease of use. -Most importantly, however, deploying a Docusaurus project only takes a couple of seconds: +To deploy your Docusaurus project with a [Vercel for Git Integration](https://vercel.com/docs/git-integrations), make sure it has been pushed to a Git repository. -1. First, install their [command-line interface](https://vercel.com/download): +Import the project into Vercel using the [Import Flow](https://vercel.com/import/git). 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](https://vercel.com/docs/build-step#build-&-development-settings). -```bash -npm i -g vercel -``` - -1. Run a single command inside the root directory of your project: - -```bash -vercel -``` - -**That's all.** Your docs will automatically be deployed. - -Now you can connect your site to [GitHub](https://zeit.co/github) or [GitLab](https://zeit.co/gitlab) to automatically receive a new deployment every time you push a commit. +After your project has been imported, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/platform/deployments#preview), and all changes made to the [Production Branch](https://vercel.com/docs/git-integrations#production-branch) (commonly "main") will result in a [Production Deployment](https://vercel.com/docs/platform/deployments#production). ## Deploying to Render diff --git a/website/versioned_docs/version-2.0.0-alpha.61/deployment.md b/website/versioned_docs/version-2.0.0-alpha.61/deployment.md index 3023e0f338..99c4239a6e 100644 --- a/website/versioned_docs/version-2.0.0-alpha.61/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.61/deployment.md @@ -286,23 +286,11 @@ Make sure to disable Netlify setting `Pretty URLs` to prevent lowercased URLs, u Deploying your Docusaurus project to [Vercel](https://vercel.com/) will provide you with [various benefits](https://vercel.com/) in the areas of performance and ease of use. -Most importantly, however, deploying a Docusaurus project only takes a couple of seconds: +To deploy your Docusaurus project with a [Vercel for Git Integration](https://vercel.com/docs/git-integrations), make sure it has been pushed to a Git repository. -1. First, install their [command-line interface](https://vercel.com/download): +Import the project into Vercel using the [Import Flow](https://vercel.com/import/git). 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](https://vercel.com/docs/build-step#build-&-development-settings). -```bash -npm i -g vercel -``` - -1. Run a single command inside the root directory of your project: - -```bash -vercel -``` - -**That's all.** Your docs will automatically be deployed. - -Now you can connect your site to [GitHub](https://zeit.co/github) or [GitLab](https://zeit.co/gitlab) to automatically receive a new deployment every time you push a commit. +After your project has been imported, all subsequent pushes to branches will generate [Preview Deployments](https://vercel.com/docs/platform/deployments#preview), and all changes made to the [Production Branch](https://vercel.com/docs/git-integrations#production-branch) (commonly "main") will result in a [Production Deployment](https://vercel.com/docs/platform/deployments#production). ## Deploying to Render