name: Notify Website of Doc Changes
on:
push:
branches:
paths:
- 'docs/**'
- 'README.md'
permissions:
jobs:
notify:
runs-on: ubuntu-latest
steps:
# Zero-PAT: mint a short-lived macp-deps-bot token scoped to website.
- name: Mint GitHub App token
id: app
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.MACP_BOT_APP_ID }}
private-key: ${{ secrets.MACP_BOT_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: website
- name: Trigger website sync
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
token: ${{ steps.app.outputs.token }}
repository: multiagentcoordinationprotocol/website
event-type: docs-updated