Skip to content

[docs] update jupyter-book files, update content, clean-up #8

[docs] update jupyter-book files, update content, clean-up

[docs] update jupyter-book files, update content, clean-up #8

Workflow file for this run

name: deploy-book
on:
push:
branches:
- main
paths:
- "docs/**"
- ".github/workflows/deploy.yml"
workflow_dispatch:
jobs:
deploy-book:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
pip install -r docs/requirements.txt
- name: Build the book
run: |
jupyter-book build docs
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html