Skip to content

Commit 110b4b1

Browse files
committed
fix build docs command
1 parent 8b3a90c commit 110b4b1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/sphinx.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
pip install poetry
32-
poetry install --with docs
32+
poetry install --only docs
3333
- name: Build HTML
3434
run: |
35-
cd docs/
36-
make clean html && make html
35+
poetry run sphinx-build -b html docs/ docs/_build
3736
- name: Run ghp-import (push docs on gh-pages branch to github pages)
3837
run: |
39-
poetry run ghp-import -n -p -f docs/_build/html
38+
poetry run ghp-import -n -p -f docs/_build

0 commit comments

Comments
 (0)