Skip to content

Merge pull request #43 from tacaswell/enh_patch #140

Merge pull request #43 from tacaswell/enh_patch

Merge pull request #43 from tacaswell/enh_patch #140

Workflow file for this run

name: Docs
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: "Set up Python 3.10"
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install Python dependencies
run: pip install -r requirements-doc.txt
- name: Install mpl-gui
run: python -m pip install -v .
- name: Build
run: make -Cdocs singlehtml
- name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/singlehtml
force_orphan: true