-
-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
Description
Initially, we use gh-pages to publish our website (https://together-java.github.io/ModernJava/). This is automatically deployed from the gh-pages branch.
Currently, we tried using an existing gh-action that, on pushes to master, builds the book and pushes it to the gh-pages branch. For some reason, the action fails:
https://github.com/Together-Java/ModernJava/actions/runs/3891853695
Either we investigate and fix the action, or we do it ourselves. mdBook actually has a guide for this: https://github.com/rust-lang/mdBook/wiki/Automated-Deployment%3A-GitHub-Pages
But essentially, all that has to be done is:
- download the
mdbookCLI tool - run
mdbook build - publish the content in
book/intogh-pages(a bit annoying, since the working tree has to be changed to there)
