Skip to content

Commit 173bdbe

Browse files
committed
Add GitHub Actions workflow for MkDocs deployment
1 parent b66d1c8 commit 173bdbe

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Docs
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: "3.10"
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install uv
25+
uv pip install --system .
26+
uv pip install --system mkdocs-material mkdocstrings[python]
27+
28+
- name: Deploy to GitHub Pages
29+
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)