Skip to content

Change github actions for mkdocs to use uv instead of sync. #10

Change github actions for mkdocs to use uv instead of sync.

Change github actions for mkdocs to use uv instead of sync. #10

Workflow file for this run

name: mkdocs-deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
- name: Set up Python 3.12.12
uses: actions/setup-python@v5
with:
python-version: "3.12.12"
- name: Set up uv
uses: astral-sh/setup-uv@v3
- name: Clone python-sdk
run: git clone --depth 1 https://github.com/codellm-devkit/python-sdk.git ../python-sdk
- name: Install Dependencies
run: uv sync --frozen
- name: Install python-sdk into uv venv
run: uv pip install -e ../python-sdk
- name: Deploy docs
run: uv run mkdocs gh-deploy --force --verbose