Skip to content

Add GitHub Actions workflow for deploying docs #1

Add GitHub Actions workflow for deploying docs

Add GitHub Actions workflow for deploying docs #1

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- readthedocs
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: pip install sphinx
- name: Build documentation
run: cd docs && sphinx-build -b html . _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build