You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,9 @@
2
2
3
3
# gh-dispatch
4
4
5
-
`gh-dispatch` is a[gh CLI](https://cli.github.com/) extension for triggering [repository_dispatch](https://docs.github.com/en/rest/repos/repos#create-a-repository-dispatch-event) and/or
6
-
[workflow_dispatch](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch) events and watching the resulting GitHub Actions workflow run via
7
-
a single command.
5
+
A[gh CLI](https://cli.github.com/) extension for triggering [repository_dispatch](https://docs.github.com/en/rest/repos/repos#create-a-repository-dispatch-event) and/or
6
+
[workflow_dispatch](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch) events and watching the resulting GitHub Actions
7
+
workflow run.
8
8
9
9

10
10
@@ -15,18 +15,18 @@ Trigger a repository dispatch event and watch the resulting GitHub Actions run f
15
15
```
16
16
gh dispatch repository \
17
17
--repo "mdb/gh-dispatch" \
18
+
--workflow "Hello" \
18
19
--event-type "hello" \
19
-
--client-payload "{\"name\": \"mike\"}" \
20
-
--workflow "Hello"'
20
+
--client-payload '{"name": "mike"}'
21
21
```
22
22
23
23
Trigger a workflow dispatch event and watch the resulting GitHub Actions run from your terminal:
0 commit comments