Skip to content

Commit 84ebe1b

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents fd66630 + 87990e3 commit 84ebe1b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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

0 commit comments

Comments
 (0)