Deploying with github pages
Deploying your website as static page with github pages is a breeze.
Whenever you push to main, the website will be deployed to a branch called gh-pages
. All you need to do is go to your repository and from Settings > Pages
choose to deploy from gh-pages
branch, as the following picture shows.
After that, the website will be available at
https://yourusername.github.io/your-repository-name
Note that this is a static webpage, so sliders will not work. Students will still be able to play with interactivity by downloading the notebook or running it on binder.
If you want interactivity to work on the webpage, you can either
- Precompute the notebooks outputs (experimental)
or