Merge pull request #2594 from VWS-Python/fix-test-errors #108
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Deploy documentation | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
pages: | |
runs-on: ubuntu-latest | |
environment: | |
name: ${{ github.ref_name == 'main' && 'github-pages' || 'development' }} | |
url: ${{ steps.deployment.outputs.page_url }} | |
permissions: | |
pages: write | |
id-token: write | |
steps: | |
- id: deployment | |
uses: sphinx-notes/pages@v3 | |
with: | |
documentation_path: docs/source | |
pyproject_extras: dev | |
python_version: '3.13' | |
sphinx_build_options: -W | |
publish: ${{ github.ref_name == 'main' }} |