Skip to content

Commit

Permalink
feat: Fix documentation commands for github actions (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
RanbirAulakh authored Sep 15, 2023
1 parent 93f044c commit c445ce8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ jobs:
pip install sphinx
python -m pip install sphinx-autoapi
python -m pip install sphinx_rtd_theme
python -m pip install tox tox-gh-actions
- name: Sphinx build
run: |
sphinx-build doc _build
tox -e docs
- name: Deploy
uses: peaceiris/actions-gh-pages@f09b4d7e2f12f433806a6273c6b0025df1f7859d
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: .tox/docs/tmp/html/
force_orphan: true

0 comments on commit c445ce8

Please sign in to comment.