Skip to content

go back to source

go back to source #14

Workflow file for this run

name: Build and Deploy Sphinx Docs to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r venv_requirements.txt
pip install .
- name: Build Sphinx Docs
run: |
cd docs
make html
- name: Deploy to GitHub Pages
run: |
ghp-import -n -p -f docs/_build/html