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 5d537f9 commit 81d8c84Copy full SHA for 81d8c84
.github/workflows/sphinx.yml
@@ -0,0 +1,24 @@
1
+name: "Sphinx: Render docs"
2
+
3
+on: push
4
5
+jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+ permissions:
9
+ contents: write
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Build HTML
13
+ uses: ammaraskar/sphinx-action@master
14
+ - name: Upload artifacts
15
+ uses: actions/upload-artifact@v4
16
+ with:
17
+ name: html-docs
18
+ path: docs/build/html/
19
+ - name: Deploy
20
+ uses: peaceiris/actions-gh-pages@v3
21
+ if: github.ref == 'refs/heads/main'
22
23
+ github_token: ${{ secrets.GITHUB_TOKEN }}
24
+ publish_dir: docs/build/html
0 commit comments