From 521ef59908a55caaa38d1894fcadb08cf6815137 Mon Sep 17 00:00:00 2001 From: Jeremy Hager <47301461+jeremyhager@users.noreply.github.com> Date: Sat, 19 Sep 2020 00:16:11 -0700 Subject: [PATCH] docs(v2): add deployment command for PowerShell (#3459) * Added powershell command for deployment - specified batch command is for cmd - added powershell as an option for deployment, changed to single quotes * - This affects the following versioned docs: - 2.0.0-alpha.63 - 2.0.0-alpha.64 - Next (Dev) * Changed deploy commands to tabbed - bash, windows, powershell, and cmd are now part of - default value is bash * Changed deployment commands to tabs in v63 and 64 - Next (dev) now has better syntax - 2.0.0-alpha-63 and 2.0.0-alpha-64 now include the tabs as well * Updated lables in deploy and cmd to Windows - Labels now are first-letter uppercase - eg. bash -> Bash - cmd is now Windows to align with original docs * Removed `` spacing in deploy section - Removed spacing at end of `values` statement - Removed spacing between `` and `` - build successful locally --- website/docs/deployment.md | 15 +++++++++++++-- .../version-2.0.0-alpha.63/deployment.md | 15 +++++++++++++-- .../version-2.0.0-alpha.64/deployment.md | 15 +++++++++++++-- 3 files changed, 39 insertions(+), 6 deletions(-) diff --git a/website/docs/deployment.md b/website/docs/deployment.md index 99c4239a6e..790e1b8005 100644 --- a/website/docs/deployment.md +++ b/website/docs/deployment.md @@ -94,18 +94,29 @@ Optional parameters, also set as environment variables: Finally, to deploy your site to GitHub Pages, run: -**Bash** + ```bash GIT_USER= yarn deploy ``` -**Windows** + + ```batch cmd /C "set "GIT_USER=" && yarn deploy" ``` + + + +```powershell +cmd /C 'set "GIT_USER=" && yarn deploy' +``` + + + + ### Triggering deployment with GitHub Actions [GitHub Actions](https://help.github.com/en/actions) allow you to automate, customize, and execute your software development workflows right in your repository. diff --git a/website/versioned_docs/version-2.0.0-alpha.63/deployment.md b/website/versioned_docs/version-2.0.0-alpha.63/deployment.md index 99c4239a6e..790e1b8005 100644 --- a/website/versioned_docs/version-2.0.0-alpha.63/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.63/deployment.md @@ -94,18 +94,29 @@ Optional parameters, also set as environment variables: Finally, to deploy your site to GitHub Pages, run: -**Bash** + ```bash GIT_USER= yarn deploy ``` -**Windows** + + ```batch cmd /C "set "GIT_USER=" && yarn deploy" ``` + + + +```powershell +cmd /C 'set "GIT_USER=" && yarn deploy' +``` + + + + ### Triggering deployment with GitHub Actions [GitHub Actions](https://help.github.com/en/actions) allow you to automate, customize, and execute your software development workflows right in your repository. diff --git a/website/versioned_docs/version-2.0.0-alpha.64/deployment.md b/website/versioned_docs/version-2.0.0-alpha.64/deployment.md index 99c4239a6e..790e1b8005 100644 --- a/website/versioned_docs/version-2.0.0-alpha.64/deployment.md +++ b/website/versioned_docs/version-2.0.0-alpha.64/deployment.md @@ -94,18 +94,29 @@ Optional parameters, also set as environment variables: Finally, to deploy your site to GitHub Pages, run: -**Bash** + ```bash GIT_USER= yarn deploy ``` -**Windows** + + ```batch cmd /C "set "GIT_USER=" && yarn deploy" ``` + + + +```powershell +cmd /C 'set "GIT_USER=" && yarn deploy' +``` + + + + ### Triggering deployment with GitHub Actions [GitHub Actions](https://help.github.com/en/actions) allow you to automate, customize, and execute your software development workflows right in your repository.