Skip to content

fix: sphinx.yml

fix: sphinx.yml #11

Workflow file for this run

name: Builds and deploys Python Sphinx documentation
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v4 # Checkout the repository content to github runner.
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: python -m pip install .; python install -e .
shell: bash
- name: Build sphinx
run: cd docs/; make clean; make html; cd /;
shell: bash
- name: Deploy to external repos
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_branch: gh-pages
publish_dir: docs/build/html/