Skip to content

update python versions (#535) #160

update python versions (#535)

update python versions (#535) #160

Workflow file for this run

name: docs
on:
push:
branches: main
env:
UV_VERSION: "0.5.13"
jobs:
gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: x64
- uses: astral-sh/setup-uv@v6
with:
version: ${{ env.UV_VERSION }}
- name: Install dependencies
run: 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/ssh-agent@v0.9.1
with:
ssh-private-key: ${{ secrets.SSH_DEPLOY_KEY }}
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4.7.3
with:
branch: gh-pages
folder: 'client/docs/build'
commit-message: '[skip ci] Documentation updates'
clean: true