Skip to content

sphinx to gh workflow #8

sphinx to gh workflow

sphinx to gh workflow #8

Workflow file for this run

# For reference: https://github.com/JamesIves/github-pages-deploy-action
name: Build Sphinx docu.
on:
[pull_request]
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install and Build HTML
run: |
pip install --upgrade pip
pip install -r docs/requirements.txt
pip install ".[full]"
sphinx-build ./docs/source ./docs/build
- name: Deploy HTML
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build/ # The folder the action should deploy.