diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index a60ef6b..67a8484 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -16,12 +16,12 @@ jobs: pip install sphinx sphinx-rtd-theme myst-nb sphinx-autoapi - name: Sphinx build run: | - sphinx-build doc/source _build + sphinx-build docs/source docs/_build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} with: publish_branch: gh-pages github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: _build/ + publish_dir: docs/_build/ force_orphan: true