Skip to content

Merge pull request #89 from MunchLab/drawing_improvements #18

Merge pull request #89 from MunchLab/drawing_improvements

Merge pull request #89 from MunchLab/drawing_improvements #18

Workflow file for this run

name: Build and Deploy Documentation
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y pandoc
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
pip install sphinx sphinx-rtd-theme myst-parser nbsphinx matplotlib
- name: Build documentation
run: make docs
- name: Deploy to GitHub Pages
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
force_orphan: true