-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(v2): update steps in the github-actions section #4876
Conversation
✔️ [V2] 🔨 Explore the source changes: 60a23d1 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/60b60ab5834a6200089f6074 😎 Browse the preview: https://deploy-preview-4876--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-4876--docusaurus-2.netlify.app/ |
I just realised that I didn't update current and older version of the documentation 😅. Will do that.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small things to make this better:
- Capitalize proper noun GitHub
- Use
monospaced
font for both terms to be replaced - End sentence with a full stop
You can apply the suggestions to fix these things.
@@ -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 [email protected] with your github email and gh-actions with your name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure that you replace [email protected] with your github email and gh-actions with your name | |
Please make sure that you replace `[email protected]` with your GitHub email and `gh-actions` with your name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: 0aae91
@@ -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 [email protected] with your github email and gh-actions with your name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure that you replace [email protected] with your github email and gh-actions with your name | |
Please make sure that you replace `[email protected]` with your GitHub email and `gh-actions` with your name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done: 0aae91
Co-authored-by: HonkingGoose <[email protected]>
thanks |
Created a warning, asking users to replace email and name in the GitHub action with their email and name.
Motivation
I ran into issues when setting up github actions.
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)