Skip to content

Commit bbaa1df

Browse files
committed
Add github actions workflow for mkdocs
1 parent f29e4d1 commit bbaa1df

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/deply.yml

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

0 commit comments

Comments
 (0)