From 2331a2c0b68b853379268e04dc07a6869777f17f Mon Sep 17 00:00:00 2001 From: Henning Treu Date: Wed, 7 Oct 2020 15:13:30 +0200 Subject: [PATCH] Fix on_failure config --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd8d2d1..a98c49c 100644 --- a/README.md +++ b/README.md @@ -60,8 +60,8 @@ A typical use case is to update the status of a commit as it traverses your pipe - task: "unit-tests" file: "repo/ci/unit-tests/task.yml" on_failure: - - put: "repo-status" # + - params: { state: "failure", commit: "repo" } # + + put: "repo-status" # + + params: { state: "failure", commit: "repo" } # + - put: "repo-status" # + params: { state: "success", commit: "repo" } # + resources: