Skip to content

189 conditional search and replace blocks #85

189 conditional search and replace blocks

189 conditional search and replace blocks #85

Workflow file for this run

name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
permissions:
contents: read
pull-requests: write
pages: write
jobs:
deploy-preview:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install ".[docs]"
- name: Build documentation
run: |
mkdocs build --strict -v
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./site/