deployerbot: fail early on nix flake check
This commit is contained in:
parent
6dc17e3829
commit
bc14331663
@ -93,7 +93,9 @@
|
||||
--targets ${deployDerivationsStr} -- \
|
||||
--accept-flake-config || EXITCODE=1
|
||||
|
||||
if [[ $EXITCODE == 0 ]]; then
|
||||
if [[ $EXITCODE != 0 ]]; then
|
||||
exit $EXITCODE
|
||||
else
|
||||
git push origin main
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user