hbs-rcs / hbsgrid-docs

Documentation and discussion forum for the HBS grid technology preview
https://hbs-rcs.github.io/hbsgrid-docs/
4 stars 4 forks source link

Use github actions to build documentation #27

Closed izahn closed 2 years ago

izahn commented 2 years ago

Instructions at https://squidfunk.github.io/mkdocs-material/publishing-your-site/#with-github-actions

devbioinfoguy commented 2 years ago

Great idea. I had considered this also for our RCS blog site, esp. to do builds on different branches so that they appear rendered but hidden on the main site.

izahn commented 2 years ago

The main thing is to auto-build each commit so that e.g., https://github.com/hbs-rcs/hbsgrid-docs/commit/808607d9cb483293a4c2ea10298a374b108bca88 will automatically be deployed to the website. Github actions is just the easiest way to do it. For the blog we already have this setup using Travis CI.

izahn commented 2 years ago

Done in https://github.com/hbs-rcs/hbsgrid-docs/commit/2a39af2d91c3e9577e27884cf7f72453d5841c49