Update README.md #35
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 gateway of statespace updates | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: {} | |
| jobs: | |
| dispatch-gateway: | |
| name: Dispatch statespace update to gateway | |
| runs-on: blacksmith-4vcpu-ubuntu-2204 | |
| steps: | |
| - name: Send repository_dispatch event to gateway | |
| uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 | |
| with: | |
| token: ${{ secrets.GATEWAY_REPO_DISPATCH_TOKEN }} | |
| repository: statespace-tech/gateway | |
| event-type: statespace-main-updated | |
| client-payload: >- | |
| {"statespace_sha":"${{ github.sha }}","statespace_ref":"${{ github.ref_name }}","source_run_id":"${{ github.run_id }}"} |