From 17cbf2be884ef065563b407fe6a40b2e6fb82ba4 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 17 Nov 2020 10:02:35 -0500 Subject: Remove JSON from builds.sr.ht/triggers.md This is no longer encouraged; machines can edit YAML. --- builds.sr.ht/triggers.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'builds.sr.ht') 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! -- cgit