Skip to content

Commit 83c79c4

Browse files
committed
build: add deploy
1 parent 9de3d9a commit 83c79c4

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy MkDocs to GitHub Pages
2+
on:
3+
push:
4+
branches: ["main"]
5+
6+
permissions:
7+
contents: write
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.x"
17+
- run: pip install -r requirements.txt
18+
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)