Skip to content

[pre-commit.ci] pre-commit autoupdate #35

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #35

Workflow file for this run

name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python and Git
uses: ./.github/actions/setup-python-and-git
with:
python-version: '3.12'
- name: Install dependencies
run: uv sync -p 3.12 --group docs
- name: Build documentation
run: |
uv run mkdocs build --strict
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./site/