mobook / MO-book

Hands-On Optimization with Python
https://mobook.github.io/MO-book/
MIT License
162 stars 47 forks source link

Add Github Action to deploy MO-book #31

Closed jckantor closed 1 year ago

jckantor commented 2 years ago

Currently the book is built with JupyterBook and pushed to the main branch. The ghp-import moves the HTML folder to gh-pages. This works, but could potentially result in a difficult merge conflict if multiple folks are building the book.

A github action would provide a single and reproducible path for deploying the book following a push to the main branch. See https://jupyterbook.org/publish/gh-pages.html.

alessandrozocca commented 1 year ago

https://jupyterbook.org/en/stable/publish/gh-pages.html#automatically-host-your-book-with-github-actions

leonlan commented 1 year ago

Closed by 5e7959c9dd7dacc2268e3fc4f7de368ebfd4d8db.