Skip to content

docs: fix schema docs gen links, duplicate pages, and inherited metho… #3

docs: fix schema docs gen links, duplicate pages, and inherited metho…

docs: fix schema docs gen links, duplicate pages, and inherited metho… #3

name: Trigger SDK Indexer
on:
push:
branches:
- main
paths:
- "docs/docs.yml"
jobs:
trigger-indexer:
name: Trigger SDK Content Indexer
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Trigger SDK Indexer in docs repo
run: |
curl -f -X POST \
-H "Authorization: Bearer ${{ secrets.DOCS_GH_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/alchemyplatform/docs/dispatches \
-d '{"event_type":"index-sdk-references","client_payload":{"source":"alchemyplatform/aa-sdk","ref":"${{ github.ref }}","sha":"${{ github.sha }}"}}'
echo "Successfully triggered SDK indexer in docs repo"