Skip to content

Use UV_FROZEN in CI (#251) #93

Use UV_FROZEN in CI (#251)

Use UV_FROZEN in CI (#251) #93

Workflow file for this run

name: build-docs
on:
push:
branches:
- master
- docs-dev
paths:
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/docs.yml"
- "pyproject.toml"
- "zabbix_cli/**"
concurrency:
group: docs-deploy
env:
UV_FROZEN: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v2
- name: Install dependencies
run: uv sync --group docs --no-dev
- name: Build documentation and publish
run: uv run mkdocs gh-deploy --force