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

Use CI to run a test build and deploy Docusaurus site to GitHub Pages #1

Open
jwflory opened this issue Jun 30, 2021 · 0 comments
Open
Assignees

Comments

@jwflory
Copy link

jwflory commented Jun 30, 2021

Summary

Use a Continuous Integration (CI) tool (e.g. GitHub Actions or Circle CI) to deploy Docusaurus source to HTML without manual updates

Background

The docs site should use a CI tool to deploy the final HTML. This makes collaboration with others easier and simplifies the process to update docs. Removing the manual build step saves time and also allows you to validate changes made by others when they open a Pull Request.

Details

This requires using a CI tool like GitHub Actions or Circle CI to handle the deployment part. Some basic scripting is needed to set up the CI tool to build the docs site locally, and then force-push the built HTML to GitHub Pages. There is a large ecosystem of community-made GitHub Actions to search. These templates might make the work easier.

Other examples:

Outcome

  • Easier to maintain the docs site
  • Easy to validate if latest changes in GitHub are deployed to the public Internet
  • Model best practices for future Innovation Fund teams
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants