Skip to content

Commit

Permalink
Update documentation.yml
Browse files Browse the repository at this point in the history
This patch switches to the Makefile method for building Sphinx.
  • Loading branch information
amyipdev committed Aug 8, 2023
1 parent 7797d70 commit 63cd5d9
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 @@ -13,12 +13,12 @@ jobs:
pip install sphinx sphinx_rtd_theme
- name: Sphinx build
run: |
sphinx-build doc docs/_build
make -C docs html
- name: Deploy
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: docs/_build/
publish_dir: docs/_build/html
force_orphan: true

0 comments on commit 63cd5d9

Please sign in to comment.