Skip to content

Commit b761832

Browse files
committed
add ci for trigger tutorial sync
Signed-off-by: oluceps <[email protected]>
1 parent 483f2fc commit b761832

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/trigger-sync.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Trigger downstream tutorial sync
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
trigger:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: LucasRoesler/[email protected]
14+
id: get_owner
15+
16+
- name: Trigger sync workflow
17+
uses: peter-evans/repository-dispatch@v2
18+
with:
19+
token: ${{ secrets.PAT }}
20+
repository: ${{ steps.get_owner.outputs.owner }}/eunomia.dev
21+
event-type: trigger-tutorial-sync

0 commit comments

Comments
 (0)