There was an error while loading. Please reload this page.
1 parent cdb68a3 commit bebb057Copy full SHA for bebb057
4 files changed
.github/workflows/docs.yml
@@ -0,0 +1,40 @@
1
+name: docs
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ deploy:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
19
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
23
+ python-version: '3.x'
24
25
+ - name: Cache dependencies
26
+ uses: actions/cache@v4
27
28
+ path: ~/.cache/pip
29
+ key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
30
+ restore-keys: |
31
+ ${{ runner.os }}-pip-
32
33
+ - name: Install dependencies
34
+ run: |
35
+ python -m pip install --upgrade pip
36
+ pip install mkdocs mkdocs-material
37
38
+ - name: Build and Deploy Documentation
39
40
+ mkdocs gh-deploy --force
0 commit comments