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 a3205b8 commit bab6e36Copy full SHA for bab6e36
.github/workflows/docs.yml
@@ -0,0 +1,25 @@
1
+name: Docs
2
+on: [push, pull_request, workflow_dispatch]
3
+permissions:
4
+ contents: write
5
+jobs:
6
+ docs:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v3
10
+ - uses: actions/setup-python@v3
11
+ - name: Install dependencies
12
+ run: |
13
+ pip install sphinx sphinx_rtd_theme
14
+ - name: Sphinx build
15
16
+ sphinx-build doc _build
17
+ - name: Deploy
18
+ uses: peaceiris/actions-gh-pages@v3
19
+ # if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
20
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/testing' }}
21
+ with:
22
+ publish_branch: gh-pages
23
+ github_token: ${{ secrets.GITHUB_TOKEN }}
24
+ publish_dir: _build/
25
+ force_orphan: true
0 commit comments