Skip to content
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): add deployment workflow manual for GitHub Actions #2670

Merged
merged 3 commits into from
May 18, 2020
Merged

docs(v2): add deployment workflow manual for GitHub Actions #2670

merged 3 commits into from
May 18, 2020

Conversation

artemkovalyov
Copy link
Contributor

I built a workflow to deploy docs for our project with GitHub Actions. After testing it on our repository I'm happy to share it with other Docusaurus users.

Motivation

I haven't found nice docs on deploying Docusaurus with GitHub Actions. I spent quite some time to test out such a deployment for our project. I think it's a popular deployment option and other Docusaurus users will benefit from it.

Amended this towards deployment.md in master as requested.

Have you read the Contributing Guidelines on pull requests?

Yes, I did.

Test Plan

These PR contributes only to documentations. I verified everything step by step in my project's repository which lead to successful deployment of documentation to GH Pages.
Here's green pipeline screenshot:
image
Here's a result hosted on GH pages:
image

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.)

Steps to build and deploy Docusaurus with GitHub Actions
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Apr 26, 2020
@docusaurus-bot
Copy link
Contributor

docusaurus-bot commented Apr 26, 2020

Deploy preview for docusaurus-2 ready!

Built with commit 2abceb7

https://deploy-preview-2670--docusaurus-2.netlify.app

@lex111 lex111 changed the title docs: add deployment workflow manual for GitHub Actions docs(v2): add deployment workflow manual for GitHub Actions Apr 27, 2020
Copy link
Contributor

@lex111 lex111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I formatted the new section so that it does not differ from another text.

@artemkovalyov
Copy link
Contributor Author

artemkovalyov commented Apr 27, 2020

Thanks for updating style @lex111

@yangshun yangshun added the pr: documentation This PR works on the website or other text documents in the repo. label May 18, 2020
@yangshun yangshun merged commit 6db5e8d into facebook:master May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: documentation This PR works on the website or other text documents in the repo.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants