17cbf2be884ef065563b407fe6a40b2e6fb82ba4 — Drew DeVault 2 months ago afa4423
Remove JSON from builds.sr.ht/triggers.md

This is no longer encouraged; machines can edit YAML.
1 files changed, 4 insertions(+), 12 deletions(-)

M builds.sr.ht/triggers.md
M builds.sr.ht/triggers.md => builds.sr.ht/triggers.md +4 -12
@@ 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:

  - action: trigger type

@@ 53,3 41,7 @@ request to a specified URL.

- **url**: The URL to submit the HTTP request to

## others?

Patches welcome!