- clone the repository, make your changes, commit and push as usual
- build your book by running
jupyter-book build .
- install ghp-import
pip install ghp-import
- run
ghp-import -n -p -f _build/html
which should push the newly built HTML to the gh-pages branch