ci(dependabot): bump pypa/cibuildwheel from 3.1 to 3.2 (#67) #142
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 MkDocs to GitHub Pages | |
| on: | |
| push: | |
| branches: [main] | |
| tags: [v*] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| env: | |
| UV_FROZEN: 1 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - uses: astral-sh/setup-uv@v6 | |
| - name: Deploy to GitHub Pages | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| run: uv run --group docs --no-editable -C=setup-args="-Dmatch_swig=false" mkdocs gh-deploy --strict --force | |
| - name: Test docs | |
| if: github.event_name == 'pull_request' | |
| run: uv run --group docs --no-editable -C=setup-args="-Dmatch_swig=false" mkdocs build --strict | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: docs | |
| path: site |