mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 18:27:56 +02:00
docs(v2): update steps in the github-actions section (#4876)
* docs: update steps in the github-actions section * refactor: format warning * Update website/docs/deployment.mdx Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
This commit is contained in:
parent
60e2de6c04
commit
62caaeddbb
5 changed files with 30 additions and 0 deletions
|
@ -150,6 +150,12 @@ This workflow assumes your documentation resided in `documentation` branch of yo
|
|||
1. Copy your private key with `xclip -sel clip < ~/.ssh/id_rsa` and paste a GitHub secret with name `GH_PAGES_DEPLOY`. Copy file content if the command line doesn't work for you. Save your secret.
|
||||
1. Create you [documentation workflow file](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#creating-a-workflow-file) in `.github/workflows/`. In this example it's `documentation.yml`.
|
||||
|
||||
:::warning
|
||||
|
||||
Please make sure that you replace `actions@github.com` with your GitHub email and `gh-actions` with your name.
|
||||
|
||||
:::
|
||||
|
||||
```yaml title="documentation.yml"
|
||||
name: documentation
|
||||
|
||||
|
|
|
@ -150,6 +150,12 @@ This workflow assumes your documentation resided in `documentation` branch of yo
|
|||
1. Copy your private key with `xclip -sel clip < ~/.ssh/id_rsa` and paste a GitHub secret with name `GH_PAGES_DEPLOY`. Copy file content if the command line doesn't work for you. Save your secret.
|
||||
1. Create you [documentation workflow file](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#creating-a-workflow-file) in `.github/workflows/`. In this example it's `documentation.yml`.
|
||||
|
||||
:::warning
|
||||
|
||||
Please make sure that you replace `actions@github.com` with your GitHub email and `gh-actions` with your name.
|
||||
|
||||
:::
|
||||
|
||||
```yaml title="documentation.yml"
|
||||
name: documentation
|
||||
|
||||
|
|
|
@ -150,6 +150,12 @@ This workflow assumes your documentation resided in `documentation` branch of yo
|
|||
1. Copy your private key with `xclip -sel clip < ~/.ssh/id_rsa` and paste a GitHub secret with name `GH_PAGES_DEPLOY`. Copy file content if the command line doesn't work for you. Save your secret.
|
||||
1. Create you [documentation workflow file](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#creating-a-workflow-file) in `.github/workflows/`. In this example it's `documentation.yml`.
|
||||
|
||||
:::warning
|
||||
|
||||
Please make sure that you replace `actions@github.com` with your GitHub email and `gh-actions` with your name.
|
||||
|
||||
:::
|
||||
|
||||
```yaml title="documentation.yml"
|
||||
name: documentation
|
||||
|
||||
|
|
|
@ -150,6 +150,12 @@ This workflow assumes your documentation resided in `documentation` branch of yo
|
|||
1. Copy your private key with `xclip -sel clip < ~/.ssh/id_rsa` and paste a GitHub secret with name `GH_PAGES_DEPLOY`. Copy file content if the command line doesn't work for you. Save your secret.
|
||||
1. Create you [documentation workflow file](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#creating-a-workflow-file) in `.github/workflows/`. In this example it's `documentation.yml`.
|
||||
|
||||
:::warning
|
||||
|
||||
Please make sure that you replace `actions@github.com` with your GitHub email and `gh-actions` with your name.
|
||||
|
||||
:::
|
||||
|
||||
```yaml title="documentation.yml"
|
||||
name: documentation
|
||||
|
||||
|
|
|
@ -150,6 +150,12 @@ This workflow assumes your documentation resided in `documentation` branch of yo
|
|||
1. Copy your private key with `xclip -sel clip < ~/.ssh/id_rsa` and paste a GitHub secret with name `GH_PAGES_DEPLOY`. Copy file content if the command line doesn't work for you. Save your secret.
|
||||
1. Create you [documentation workflow file](https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow#creating-a-workflow-file) in `.github/workflows/`. In this example it's `documentation.yml`.
|
||||
|
||||
:::warning
|
||||
|
||||
Please make sure that you replace `actions@github.com` with your GitHub email and `gh-actions` with your name.
|
||||
|
||||
:::
|
||||
|
||||
```yaml title="documentation.yml"
|
||||
name: documentation
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue