diff --git a/.github/workflows/repository_dispatch.yml b/.github/workflows/repository_dispatch.yml new file mode 100644 index 0000000..3f5b993 --- /dev/null +++ b/.github/workflows/repository_dispatch.yml @@ -0,0 +1,16 @@ +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 }}"}'