Repository navigation
build(deps): Bump sentry-sdk from 2.71.0 to 2.72.0 (#56) #51
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: Docs | |
| on: | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| # Two quick pushes must not race each other onto Pages. | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: astral-sh/setup-uv@v7 | |
| # --locked: fail when uv.lock is out of date with pyproject.toml. | |
| - run: uv sync --locked --no-dev --group docs | |
| - run: cp CHANGELOG.md docs/changelog.md | |
| # --no-dev on `uv run` too: without it the implicit sync reinstalls the | |
| # whole dev group just to build docs. | |
| - run: uv run --no-dev --group docs zensical build --clean | |
| - run: uv run --no-dev --group docs python scripts/emit_markdown.py | |
| - uses: actions/upload-pages-artifact@v5 | |
| with: | |
| path: site | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - id: deployment | |
| uses: actions/deploy-pages@v5 |