Skip to content

build-documentation #18

build-documentation

build-documentation #18

Workflow file for this run

name: build-documentation
on: workflow_dispatch
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pandoc
run: sudo apt-get install pandoc
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[docs]
- name: Build docs
run: sphinx-build docs docs_build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs_build