Skip to content

CI Fix

CI Fix #144

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install
run: |
pip install -r docs/requirements.yml
pip install -e .
- name: Build Docs
run: mkdocs build
# Only deploy if main, otherwise just build for testing
- name: Deploy
if: endsWith(github.ref, '/main')
run: mkdocs gh-deploy --force