Skip to content

Merge pull request #24 from LeanderCS/23 #1

Merge pull request #24 from LeanderCS/23

Merge pull request #24 from LeanderCS/23 #1

Workflow file for this run

name: Deploy Sphinx Documentation
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Dependencies
run: |
pip install sphinx sphinx_rtd_theme
- name: Build Documentation
run: |
sphinx-build -b html docs/ docs/_build/html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html