Bump up jupyter-book to version 0.15.X #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Web deployment | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "book/**" | |
- "requirements.txt" | |
jobs: | |
push: | |
needs: [] | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Set up GitHub Actions" | |
uses: actions/checkout@v3 | |
- name: "Set up Python 3.7" | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: "Install Python dependencies" | |
run: | | |
pip install --no-cache-dir --upgrade pip setuptools wheel | |
pip install --no-cache-dir --requirement requirements.txt | |
pip list | |
- name: "Build web page" | |
run: | | |
make build | |
- name: "Push built web to GitHub Pages" | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: _build/html |