Merge pull request #597 from bmitzkus/master #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"]}' |