Skip to content

Commit de28765

Browse files
authoredNov 23, 2023
Refactor/#300 auto deployment (#304)
* Update and rename dispatch_to_1eecan.yml to trigger_dispatch.yml * Update dispatch.yml
1 parent 3fcf23d commit de28765

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎.github/workflows/dispatch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Repository Dispatch
22

33
on:
44
repository_dispatch:
5-
types: [ demo_event ]
5+
types: [ dispatch_event ]
66

77
jobs:
88
sync:

‎.github/workflows/dispatch_to_1eecan.yml renamed to ‎.github/workflows/trigger_dispatch.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ name: Trigger repository_dispatch
33
on:
44
push:
55
branches:
6+
- main
67
- dev
78

89
jobs:
910
trigger:
1011
runs-on: ubuntu-latest
1112
steps:
12-
- run: gh api /repos/1eecan/pickple-front/dispatches -f event_type='demo_event'
13+
- run: gh api /repos/dlwl98/pickple-front/dispatches -f event_type='dispatch_event'
1314
env:
1415
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}

0 commit comments

Comments
 (0)
Please sign in to comment.