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 be26d04 commit eef5c39Copy full SHA for eef5c39
.github/workflows/docs.yml
@@ -0,0 +1,36 @@
1
+name: Build and Deploy Documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout code
13
+ uses: actions/checkout@v3
14
15
+ - name: Set up Python
16
+ uses: actions/setup-python@v4
17
+ with:
18
+ python-version: 3.x
19
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install -r docs/requirements.txt
24
25
+ - name: Build documentation
26
+ working-directory: docs
27
28
+ cd source
29
+ make html
30
31
+ - name: Deploy to gh-pages branch
32
+ uses: peaceiris/actions-gh-pages@v3
33
34
+ github_token: ${{ secrets.GITHUB_TOKEN }}
35
+ publish_dir: docs/_build/html
36
+ publish_branch: gh-pages
0 commit comments