Skip to content

Update workflow to use docs_sync secret name #2

Update workflow to use docs_sync secret name

Update workflow to use docs_sync secret name #2

name: Trigger Docs Sync
on:
push:
branches:
- main
jobs:
trigger-sync:
runs-on: ubuntu-latest
steps:
- name: Trigger docs repo sync
run: |
curl -X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.docs_sync }}" \
https://api.github.com/repos/Lightprotocol/docs/dispatches \
-d '{"event_type":"sync-examples"}'