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 4684d98 commit b93981dCopy full SHA for b93981d
1 file changed
.github/workflows/docs.yml
@@ -0,0 +1,34 @@
1
+name: Deploy Documentation
2
+
3
+on:
4
+ push:
5
+ branches: [release, staging]
6
7
+permissions:
8
+ contents: write
9
10
+jobs:
11
+ deploy:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: Checkout repo
16
+ uses: actions/checkout@v4
17
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: '3.x'
22
23
+ - name: Install MkDocs + Material theme
24
+ run: |
25
+ pip install mkdocs mkdocs-material
26
27
+ - name: Build documentation
28
+ run: mkdocs build
29
30
+ - name: Deploy to GitHub Pages
31
+ uses: peaceiris/actions-gh-pages@v4
32
33
+ github_token: ${{ secrets.GITHUB_TOKEN }}
34
+ publish_dir: ./site
0 commit comments