0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: add repository event dispatch job on logto master push (#4035)

add repository event dispatch job on logto master push
This commit is contained in:
simeng-li 2023-06-15 15:47:16 +08:00 committed by GitHub
parent 205bb5f44d
commit 9b64dbea11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,24 @@
name: Repository Dispatch
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}
jobs:
event_dispatch:
strategy:
matrix:
target: [logto-io/cloud]
runs-on: ubuntu-latest
steps:
- name: Dispatch Event
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.BOT_PAT }}
repository: ${{ matrix.target }}
event-type: ${{ github.event_name }}
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'