We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fe068b commit 36eca3cCopy full SHA for 36eca3c
1 file changed
.github/workflows/webhook_repository_dispatch.yml
@@ -13,6 +13,14 @@ jobs:
13
steps:
14
- name: to print the event
15
run: echo "event is ${{ github.event_name }}"
16
+
17
18
+# to run - curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer $GITHUB_TOKEN" https://api.github.com/repos/2vikram22/Github-Examples/dispatches -d '{
19
+ # "event_type": "webhook","client_payload": {"ref": "main"}
20
+ # }'
21
22
+# note , we have not mentioned any filename in the api as it is event.
23
+# in event_type , web2 can also be written
24
25
26
0 commit comments