Skip to content

Commit

Permalink
add repo dispatch (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinxu9 authored May 14, 2024
1 parent 3c3a067 commit daa1517
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/repository_dispatch.yml
Original file line number Diff line number Diff line change
@@ -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 }}"}'

0 comments on commit daa1517

Please sign in to comment.