Merge pull request #46 from EfficientContext/opencode #8
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: Notify docs site on doc changes | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'docs/**' | |
| jobs: | |
| notify: | |
| name: Trigger docs site sync | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send repository_dispatch to docs site | |
| run: | | |
| curl -X POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "Authorization: Bearer ${{ secrets.DOCS_SYNC_TOKEN }}" \ | |
| https://api.github.com/repos/EfficientContext/contextpilot-docs/dispatches \ | |
| -d '{"event_type": "docs-updated"}' |