Skip to content

add uv lock

add uv lock #2

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'README.md'
- 'overrides/**'
- 'docs/**'
- 'mkdocs.yml'
- 'uv.lock'
repository_dispatch:
types: [build]
permissions:
contents: write
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT }}
fetch-depth: 0
submodules: 'recursive'
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: "Submodule fetching"
continue-on-error: true
run: |
git submodule update --init --recursive --checkout -f --remote -- "docs"
git config --global user.name "GitHub Action"
git config --global user.email "[email protected]"
git commit -am "chore (update): fetch submodule"
git push
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: "pip"
- name: Install dependencies
run: uv sync
- name: Build
run: |
uv run mkdocs gh-deploy --force