Skip to content

Merge pull request #589 from spitfire55/master #2

Merge pull request #589 from spitfire55/master

Merge pull request #589 from spitfire55/master #2

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- master
paths:
- "docs/**"
permissions: {}
jobs:
deploy-docs:
runs-on: ubuntu-latest
env:
DOCS_REVALIDATION_KEY: ${{ secrets.DOCS_REVALIDATION_KEY }}
steps:
- name: Request docs revalidation
run: |
curl -X POST https://supabase.com/docs/api/revalidate \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer ${{ secrets.DOCS_REVALIDATION_KEY }}' \
-d '{"tags": ["graphql"]}'