Skip to content

fixing CI

fixing CI #13

Workflow file for this run

# build the sphinx documentation and pushes it to a doc branch, then used by github pages
name: Doc
on:
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [ 3.12 ]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip setuptools
pip install .[doc]
- name: Build documentation
run: |
make --directory=docs html
touch ./docs/build/html/.nojekyll
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html