Skip to content

fix: Update Tanstack Start #3051

fix: Update Tanstack Start

fix: Update Tanstack Start #3051

Workflow file for this run

name: Revalidate
env:
API_BASE_URL: https://clerk.com
on:
pull_request:
types: [synchronize]
paths:
- 'docs/**'
jobs:
revalidate:
# skip if `deploy-preview` label has not been added
if: ${{ contains(github.event.pull_request.labels.*.name, 'deploy-preview') }}
runs-on: ubuntu-latest
steps:
- name: Trigger revalidate
run: |
curl -X POST ${{ env.API_BASE_URL }}/docs/revalidate \
-H "Content-Type: application/json" \
-H "Authorization: Bearer ${{ secrets.REVALIDATE_DOCS_SECRET }}" \
-d "{\"paths\": [[\"/(website)/docs/pr/[number]\", \"layout\"]]}"