Skip to content

Commit

Permalink
Using docs/build/html as publish directory
Browse files Browse the repository at this point in the history
  • Loading branch information
fercer committed Sep 29, 2023
1 parent 06882a4 commit 08dfcb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
pip install sphinx sphinx-rtd-theme myst-nb astroid==2.15.8 sphinx-autoapi jupyter-cache
- name: Sphinx build
run: |
sphinx-build docs/source docs/build/
sphinx-build -M html docs/source docs/build/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/
publish_dir: docs/build/html

0 comments on commit 08dfcb2

Please sign in to comment.