diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 6909420..0ae4b86 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -15,15 +15,14 @@ jobs: run: | pip install sphinx sphinx_rtd_theme myst_parser - name: Sphinx build - working-directory: docs/ + working-directory: ./docs run: | sphinx-build . _build - name: Deploy to GitHub Pages - working-directory: docs/ 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 \ No newline at end of file