Skip to content

Commit

Permalink
Update documentation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdalla1423 authored Jun 7, 2024
1 parent 3ef4b06 commit bde8a2c
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 @@ -16,12 +16,11 @@ jobs:
pip install sphinx sphinx_rtd_theme myst_parser
- name: Sphinx build
run: |
sphinx-build docs _build
sphinx-build docs 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
force_orphan: true

0 comments on commit bde8a2c

Please sign in to comment.