mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
9b64dbea11
add repository event dispatch job on logto master push
24 lines
537 B
YAML
24 lines
537 B
YAML
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 }}"}'
|