docs: Test updated deploy_docs workflow (#411)
This commit is contained in:
@@ -10,6 +10,15 @@ on:
|
|||||||
- 'mkdocs.yml'
|
- 'mkdocs.yml'
|
||||||
- '.github/workflows/deploy_docs.yaml'
|
- '.github/workflows/deploy_docs.yaml'
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
- 'mkdocs.yml'
|
||||||
|
- '.github/workflows/deploy_docs.yaml'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -21,5 +30,11 @@ jobs:
|
|||||||
- name: Install UV
|
- name: Install UV
|
||||||
uses: astral-sh/setup-uv@v3
|
uses: astral-sh/setup-uv@v3
|
||||||
|
|
||||||
|
- name: Create UV virtual environment
|
||||||
|
run: uv venv
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: uv pip install "mkdocs-material[imaging]" Pillow cairosvg
|
||||||
|
|
||||||
- name: Build the documentation
|
- name: Build the documentation
|
||||||
run: uv run mkdocs gh-deploy --force
|
run: uv run mkdocs gh-deploy --force
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ plugins:
|
|||||||
- callouts
|
- callouts
|
||||||
- glightbox
|
- glightbox
|
||||||
- social:
|
- social:
|
||||||
enabled: !ENV [CI, false]
|
enabled: !ENV [CI, true]
|
||||||
- mkdocstrings:
|
- mkdocstrings:
|
||||||
handlers:
|
handlers:
|
||||||
python:
|
python:
|
||||||
|
|||||||
Reference in New Issue
Block a user