Skip to content

Merge pull request #80 from clerk/update-openapi-specs-20260109-141046 #22

Merge pull request #80 from clerk/update-openapi-specs-20260109-141046

Merge pull request #80 from clerk/update-openapi-specs-20260109-141046 #22

name: Invalidate Docs on Push to Main
on:
push:
branches: [main]
jobs:
invalidate-docs:
permissions: {}
runs-on: ubuntu-latest
steps:
- name: Invalidate Documentation
run: |
curl --request POST \
--url https://clerk.com/docs/reference/spec/invalidate \
--header 'Content-Type: application/json' \
--header 'authorization: Bearer ${{ secrets.DOCS_REVALIDATE_SECRET }}' \
--data '{}'
env:
DOCS_REVALIDATE_SECRET: ${{ secrets.DOCS_REVALIDATE_SECRET }}