Skip to content

Merge pull request #61 from dskrypa/dev #288

Merge pull request #61 from dskrypa/dev

Merge pull request #61 from dskrypa/dev #288

Workflow file for this run

name: Documentation
on:
push:
branches: ["main"]
paths: ["lib/**", "docs/**", "examples/**"]
workflow_dispatch: {}
jobs:
build:
runs-on: ["ubuntu-latest"]
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -e . -r docs/requirements.txt
- name: Generate docs
run: python bin/build_docs.py -cu
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/