File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : Trigger Push Event
4
+
5
+ # Controls when the workflow will run
6
+ on :
7
+ workflow_dispatch
8
+
9
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
10
+ jobs :
11
+ # This workflow contains a single job called "build"
12
+ trigger :
13
+ # The type of runner that the job will run on
14
+ runs-on : ubuntu-latest
15
+
16
+ # Steps represent a sequence of tasks that will be executed as part of the job
17
+ steps :
18
+ - name : Notify Push Event
19
+ env :
20
+ TARGET_REPO : capstone-maru/maru
21
+ run : |
22
+ curl -X POST \
23
+ -H "Accept: application/vnd.github.everest-preview+json" \
24
+ -H "Authorization: token ${{ secrets.PAT }}" \
25
+ -d '{"event_type": "${{ vars.ACTION_TYPE }}"}' \
26
+ https://api.github.com/repos/${{ env.TARGET_REPO }}/dispatches
You can’t perform that action at this time.
0 commit comments