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