Skip to content

CI

CI #91

Workflow file for this run

name: CI
# Only trigger, when the submodules workflow succeeded
on:
workflow_run:
workflows: ["Update submodules"]
types:
- completed
jobs:
docs-build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r book/requirements.txt
- name: Build JupyterBook
working-directory: ./book
run: |
jupyter-book build .
- name: Publish
uses: peaceiris/actions-gh-pages@v3.8.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/_build/html