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:
parent
205bb5f44d
commit
9b64dbea11
1 changed files with 24 additions and 0 deletions
24
.github/workflows/repository-dispatch.yml
vendored
Normal file
24
.github/workflows/repository-dispatch.yml
vendored
Normal 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 }}"}'
|
Loading…
Reference in a new issue