Skip to content

Commit a263759

Browse files
committed
docs: add MkDocs GitHub Action deployment
1 parent 551367f commit a263759

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/docs.yml

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

0 commit comments

Comments
 (0)