Skip to content

Commit

Permalink
ci: fix doc build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jmottier-niryo committed Dec 6, 2024
2 parents a50636e + 67e0762 commit b3ab558
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
pip install -r requirements.txt -r docs/requirements.txt
- name: Sphinx build
run: |
scripts/build_docs_versioned.py public master $(git tag)
source venv/bin/activate
git fetch --tags --force
git checkout ${{ github.ref_name }}
scripts/build_docs_versioned.py public $(git tag --sort=-v:refname)
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
Expand Down

0 comments on commit b3ab558

Please sign in to comment.