Skip to content

Commit b41721a

Browse files
committed
fix: mkdocs proper python version
1 parent 0456ccb commit b41721a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/deploy-mkdocs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Deploy docs
33
on:
44
workflow_call:
55
inputs:
6+
pyproject-toml-file:
7+
description: Path to pyproject.toml to infer the minimum python version
8+
type: string
9+
default: pyproject.toml
610
requirements-file:
711
description: The requirements_docs.txt file that installs mkdocs and its plugins
812
required: true
@@ -38,6 +42,9 @@ jobs:
3842
if: inputs.deploy-type == 'tag'
3943
with:
4044
ref: ${{ inputs.version-tag }}
45+
- uses: ./actions/setup-python-and-uv
46+
with:
47+
pyproject-toml-file: ${{ inputs.pyproject-toml-file }}
4148
- name: Run mkdocs
4249
run: |
4350
# python -m pip install --upgrade pip

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ jobs:
202202
203203
steps:
204204
- uses: actions/checkout@v4
205+
- uses: deargen/workflows/actions/setup-python-and-uv@master
205206
- name: Check mkdocs
206207
uses: deargen/workflows/actions/check-mkdocs@master
207208
with:

0 commit comments

Comments
 (0)