Skip to content

Commit 2f8518f

Browse files
committed
Update sphinx.yml
Using a different sphinx build command
1 parent 1849d5c commit 2f8518f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/sphinx.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,25 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
1415
- name: Install dependencies
1516
run: pip install -r requirements.txt
17+
1618
- name: Build HTML
17-
uses: ammaraskar/[email protected]
19+
run: python -m sphinx.cmd.build -M html docs/source docs/build
20+
1821
- name: Upload artifacts
1922
uses: actions/upload-artifact@v4
2023
with:
2124
name: html-docs
2225
path: docs/build/html/
26+
2327
- name: Deploy
24-
uses: sphinx-notes/pages@v3
25-
with:
26-
publish: true
27-
- uses: peaceiris/actions-gh-pages@v3
28+
# uses: sphinx-notes/pages@v3
29+
# with:
30+
# publish: true
31+
32+
uses: peaceiris/actions-gh-pages@v3
2833
with:
2934
github_token: ${{ secrets.DOCSITE_TOKEN }}
3035
publish_dir: docs/build/html

0 commit comments

Comments
 (0)