diff options
Diffstat (limited to 'builds.sr.ht')
-rw-r--r-- | builds.sr.ht/triggers.md | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/builds.sr.ht/triggers.md b/builds.sr.ht/triggers.md index e21ba06..0fb3148 100644 --- a/builds.sr.ht/triggers.md +++ b/builds.sr.ht/triggers.md @@ -5,18 +5,6 @@ title: Build triggers reference At the end of a job or a job group, you can execute triggers based on the outcome of the job. -The basic format of a trigger is (in JSON): - -``` -{ - "action": "trigger type", - "condition": "when to execute this trigger", - [...action-specific configuration...] -} -``` - -Or in YAML: - ``` triggers: - action: trigger type @@ -53,3 +41,7 @@ request to a specified URL. *Configuration* - **url**: The URL to submit the HTTP request to + +## others? + +Patches welcome! |