Merge pull request #604 from supabase/rs/bump-version #5
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"]}' |