Skip to content

Commit

Permalink
deploy documentation (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
LegrandNico authored Jun 12, 2024
1 parent ae673ad commit 69d9f37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
pip install -r requirements-docs.txt
sphinx-build -j 4 -T -b html docs/source docs/build/html
- name: Deploy 🚀
if: github.event_name == 'release' && startsWith(github.ref, 'refs/tags/') # only publish stable documentation on tag pushes
- name: Deploy Stable 🚀
if: startsWith(github.ref, 'refs/tags/') # only publish stable documentation on tag pushes
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build/html
BRANCH: gh-pages

- name: Deploy 🚀
if: github.event_name != 'release' && !startsWith(github.ref, 'refs/tags/')
- name: Deploy Dev 🚀
if: !startsWith(github.ref, 'refs/tags/')
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build/html
Expand Down

0 comments on commit 69d9f37

Please sign in to comment.