We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf5a715 commit b4e526cCopy full SHA for b4e526c
2 files changed
.github/workflows/publish.yaml
@@ -0,0 +1,38 @@
1
+name: pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+permissions:
9
+ contents: write
10
11
+jobs:
12
+ publish:
13
+ runs-on: ubuntu-24.04
14
+ steps:
15
+ - name: checkout
16
+ uses: actions/checkout@v5.0.0
17
18
+ - name: setup python
19
+ uses: actions/setup-python@v6.0.0
20
+ with:
21
+ python-version: 3.13
22
23
+ - name: Install dependencies
24
+ run: |
25
+ pip install sphinx sphinx_rtd_theme sphinxcontrib-contentui sphinxcontrib-details-directive sphinx_copybutton furo myst_parser
26
27
+ - name: Sphinx build
28
29
+ cd pages
30
+ make
31
32
+ - name: Deploy to GitHub Pages
33
+ uses: peaceiris/actions-gh-pages@v4.0.0
34
35
+ publish_branch: gh-pages
36
+ github_token: ${{ secrets.GITHUB_TOKEN }}
37
+ publish_dir: pages/build/html
38
+ force_orphan: true
.github/workflows/sphinx.yaml
0 commit comments