only fail if there are failed gems
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
f 2022-02-05 18:02:49 -03:00
parent f8eb2b53c9
commit bb790fbe1a

View file

@ -5,7 +5,7 @@ pipeline:
commands: commands:
- git checkout -B ${CI_COMMIT_BRANCH} - git checkout -B ${CI_COMMIT_BRANCH}
- bulk-compiler - bulk-compiler
- git add built/ - git add built/ failed/
- git config user.name Woodpecker - git config user.name Woodpecker
- git config user.email ci@nulo.in - git config user.email ci@nulo.in
- git remote add nulo ssh://_gitea@nulo.in:420/Sutty/gems.git - git remote add nulo ssh://_gitea@nulo.in:420/Sutty/gems.git
@ -16,6 +16,7 @@ pipeline:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$${SSH_KEY}" | tr -d '\r' | ssh-add - - echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
- git push nulo ${CI_COMMIT_BRANCH} - git push nulo ${CI_COMMIT_BRANCH}
- git show HEAD | grep -q failed/ ; test $? -eq 0
secrets: secrets:
- HTTP_BASIC_USER - HTTP_BASIC_USER
- HTTP_BASIC_PASSWORD - HTTP_BASIC_PASSWORD