Skip to content

Merge pull request #24 from LeanderCS/23 #9

Merge pull request #24 from LeanderCS/23

Merge pull request #24 from LeanderCS/23 #9

Workflow file for this run

name: Deploy Sphinx Documentation
on:
push:
branches:
- main
permissions:
pages: write
id-token: write
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 source/ build/html
- name: Upload Documentation Artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: build/html
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
artifact_name: github-pages