Skip to content

Commit bbfa0d3

Browse files
committed
Add deploy github workflows config yml file
1 parent 2aa0998 commit bbfa0d3

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy Docs
2+
on:
3+
push:
4+
branches:
5+
- main # 触发分支
6+
permissions:
7+
contents: write
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v4
14+
with:
15+
python-version: 3.x
16+
- run: pip install mkdocs
17+
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)