Skip to content

Commit 8cb38f1

Browse files
committed
Add actions
1 parent 6bf1337 commit 8cb38f1

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy MkDocs Material to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- name: Install uv
16+
uses: astral-sh/setup-uv@v5
17+
18+
- name: Install the project
19+
run: uv sync --all-extras --dev
20+
21+
- name: Build MkDocs
22+
run: mkdocs build --verbose
23+
24+
# - name: Deploy to GitHub Pages
25+
# uses: peaceiris/actions-gh-pages@v3
26+
# with:
27+
# github_token: ${{ secrets.GITHUB_TOKEN }}
28+
# publish_dir: ./site
29+
# force_orphan: true
30+

0 commit comments

Comments
 (0)