From bb790fbe1ad272b7c2042d693242cba0cdb2aba5 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 5 Feb 2022 18:02:49 -0300 Subject: [PATCH] only fail if there are failed gems --- .woodpecker.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index baf0867..2ae2f93 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,7 +5,7 @@ pipeline: commands: - git checkout -B ${CI_COMMIT_BRANCH} - bulk-compiler - - git add built/ + - git add built/ failed/ - git config user.name Woodpecker - git config user.email ci@nulo.in - git remote add nulo ssh://_gitea@nulo.in:420/Sutty/gems.git @@ -16,6 +16,7 @@ pipeline: - eval $(ssh-agent -s) - echo "$${SSH_KEY}" | tr -d '\r' | ssh-add - - git push nulo ${CI_COMMIT_BRANCH} + - git show HEAD | grep -q failed/ ; test $? -eq 0 secrets: - HTTP_BASIC_USER - HTTP_BASIC_PASSWORD