mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-01-22 03:07:31 -06:00
only push if successful build
This commit is contained in:
parent
75fc07a29a
commit
b2d7a3a70d
1 changed files with 11 additions and 10 deletions
|
@ -389,6 +389,7 @@ proc nixBuildWithCache*(name: string, rest:seq[string], service: string, jobs: i
|
|||
if isCi():
|
||||
reportResults(results)
|
||||
|
||||
if outs.len > 0:
|
||||
# TODO: push after build not at once?
|
||||
var cmd = service
|
||||
cmd.addArg "push"
|
||||
|
|
Loading…
Reference in a new issue