feat: MetaMask Web3 authentication guide #3743
Workflow file for this run
This file contains 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: 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\"]]}" |