Skip to content

Chap 4 - Équations LaTeX et graphique de 10 rectangles #21

Chap 4 - Équations LaTeX et graphique de 10 rectangles

Chap 4 - Équations LaTeX et graphique de 10 rectangles #21

Workflow file for this run

name: Build Jupyter Book with GitHub pages
on:
push:
branches:
- main
jobs:
generate-book:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- name: Git checkout latest revision
uses: actions/checkout@v4
# https://github.com/actions/setup-python
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r requirements.txt
# https://jupyterbook.org/start/build.html
- name: Build the Jupyter book
run: |
jupyter-book build .
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html