There was an error while loading. Please reload this page.
1 parent 7f393b0 commit 26bd157Copy full SHA for 26bd157
1 file changed
.github/workflows/deploy.yaml
@@ -0,0 +1,32 @@
1
+name: Deploy Sphinx Docs to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches: [ feature/dina ]
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v4
12
13
+ - name: Set up Python
14
+ uses: actions/setup-python@v5
15
+ with:
16
+ python-version: '3.10'
17
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install sphinx sphinx_rtd_theme
22
+ # or: pip install -r docs/requirements.txt
23
24
+ - name: Build docs
25
+ working-directory: docs
26
+ run: make html
27
28
+ - name: Deploy to gh-pages
29
+ uses: peaceiris/actions-gh-pages@v4
30
31
+ github_token: ${{ secrets.GITHUB_TOKEN }}
32
+ publish_dir: docs/_build/html
0 commit comments