Skip to content

fix: Update CI workflow to use uv for MkDocs deployment and clean up … #18

fix: Update CI workflow to use uv for MkDocs deployment and clean up …

fix: Update CI workflow to use uv for MkDocs deployment and clean up … #18

Workflow file for this run

name: ci_mkdocs
on:
push:
branches:
- main
- dev*
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout Repo
uses: actions/checkout@v6
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Install uv and set the python version
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
activate-environment: true
- name: Install the project
run: uv sync --extra docs
- name: Build MkDocs site
run: uv run mkdocs gh-deploy --force