Closed izahn closed 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.
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.
Instructions at https://squidfunk.github.io/mkdocs-material/publishing-your-site/#with-github-actions