Skip to content

(chore) fix format for component references #3523

(chore) fix format for component references

(chore) fix format for component references #3523

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\"]]}"