Skip to content

Commit 9a92ade

Browse files
committed
sphinx workflow
1 parent 169bff4 commit 9a92ade

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/sphinx.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: "Sphinx"
22
on: push
3+
34
jobs:
45
build:
56
runs-on: ubuntu-latest
@@ -9,18 +10,20 @@ jobs:
910
- uses: actions/checkout@v4
1011
with:
1112
persist-credentials: false
12-
- name: update pip
13+
14+
- name: build
1315
run: |
14-
python -m pip install --upgrade pip
15-
- name: build html
16-
uses: ammaraskar/sphinx-action@master
17-
with:
18-
docs-folder: "sphinx/"
16+
# python -m pip install --upgrade pip
17+
cd sphinx
18+
pip install -r requirements.txt
19+
sphinx-build source build
20+
1921
- name: upload artifacts
2022
uses: actions/upload-artifact@v4
2123
with:
2224
name: html-docs
2325
path: sphinx/build/html/
26+
2427
- name: deploy
2528
uses: peaceiris/actions-gh-pages@v3
2629
if: github.ref == 'refs/heads/master'

0 commit comments

Comments
 (0)