send the name for the app to be deployed in the event (#42) #2
This file contains 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: reflex-chat-repository-dispatch | |
on: | |
push: | |
branches: ['main'] | |
jobs: | |
test: | |
name: reflex-chat-repository-dispatch | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dispatch | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
token: ${{ secrets.HOSTING_REPOSITORY_DISPATCH }} | |
repository: reflex-dev/reflex-hosting | |
event-type: push | |
client-payload: '{"repo": "${{ github.repository }}", "sha": "${{ github.sha }}", "deployment-key": "chat"}' |