Skip to content

Commit

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

- name: Deploy Dev 🚀
if: !startsWith(github.ref, 'refs/tags/')
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/build/html
BRANCH: gh-pages
branch: gh-pages
target-folder: dev

0 comments on commit 0ab2237

Please sign in to comment.