Skip to content

Commit

Permalink
work under docs/
Browse files Browse the repository at this point in the history
  • Loading branch information
jykr committed Mar 30, 2024
1 parent 9982896 commit 3cf9777
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3cf9777

Please sign in to comment.