Skip to content

Merge pull request #246 from SMTG-Bham/numpy-fix #108

Merge pull request #246 from SMTG-Bham/numpy-fix

Merge pull request #246 from SMTG-Bham/numpy-fix #108

Workflow file for this run

name: Build documentation
on: [push]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
cache: pip
cache-dependency-path: setup.py
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install numpy
python -m pip install -e '.[docs]'
- name: Build
run: sphinx-build docs/src docs_build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./docs_build