We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8843b7 commit 3321f66Copy full SHA for 3321f66
.github/workflows/deploy.yml
@@ -0,0 +1,29 @@
1
+name: Deploy MkDocs site to GitHub Pages
2
+on:
3
+ push:
4
+ branches: [ main ]
5
+permissions:
6
+ contents: write
7
+ pages: write
8
+ id-token: write
9
+jobs:
10
+ build-deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Check out repository
14
+ uses: actions/checkout@v4
15
+ - name: Setup Python
16
+ uses: actions/setup-python@v5
17
+ with:
18
+ python-version: '3.x'
19
+ - name: Install dependencies
20
+ run: |
21
+ pip install -r requirements.txt
22
+ - name: Build site
23
+ run: mkdocs build --strict
24
+ - name: Deploy to GitHub Pages
25
+ uses: peaceiris/actions-gh-pages@v3
26
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: ./site
29
+ publish_branch: gh-pages
0 commit comments