We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 043948d commit d52cdbdCopy full SHA for d52cdbd
.github/workflows/auto-deploy-docs.yml
@@ -0,0 +1,31 @@
1
+name: Deploy Documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy-docs:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v5
18
+ with:
19
+ python-version: '3.13'
20
21
+ - name: Install documentation requirements
22
+ run: pip install -r requirements-doc.txt
23
24
+ - name: Build documentation
25
+ run: mkdocs build --strict
26
27
+ - name: Deploy to GitHub Pages
28
+ uses: peaceiris/actions-gh-pages@v4
29
30
+ github_token: ${{ secrets.GITHUB_TOKEN }}
31
+ publish_dir: ./site
0 commit comments