Skip to content

Commit e7c55fe

Browse files
committed
Add github workflows
1 parent 26f1bbd commit e7c55fe

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy MkDocs site
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@v3
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.x'
20+
21+
- name: Install dependencies
22+
run: |
23+
pip install -r requirements.txt
24+
25+
- name: Build and deploy MkDocs site
26+
run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)