Skip to content

Commit c690674

Browse files
committed
[CI + BugFix] Change publish dir for documentation
1 parent 64ba2c3 commit c690674

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish-docs.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,12 @@ jobs:
2929
3030
- name: Build Documentation
3131
run: |
32-
cd docs
33-
poetry run make html
34-
touch build/html/.nojekyll
32+
poetry run sphinx-build -b html docs/source/ html
3533
3634
- name: Deploy to GitHub Pages
3735
uses: peaceiris/actions-gh-pages@v3
3836
with:
3937
publish_branch: gh-pages
4038
github_token: ${{ secrets.GITHUB_TOKEN }}
41-
publish_dir: docs/build/html
39+
publish_dir: html
4240
force_orphan: true

0 commit comments

Comments
 (0)