Skip to content

refactor(models): implement the new data model (#322) #83

refactor(models): implement the new data model (#322)

refactor(models): implement the new data model (#322) #83

Workflow file for this run

name: docs
on:
push:
branches: main
jobs:
gh-pages:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python: [3.9]
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade uv
uv pip install --system -e "client/.[docs]"
- name: Build documentation
run: sphinx-build client/docs/source client/docs/build -a -v
- name: Documentation sanity check
run: test -e client/docs/build/index.html || exit
- name: Install SSH Client 🔑
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_DEPLOY_KEY }}
- name: Deploy to Github Pages
uses: JamesIves/[email protected]
with:
BRANCH: gh-pages
FOLDER: 'client/docs/build'
COMMIT_MESSAGE: '[skip ci] Documentation updates'
CLEAN: true
SSH: true