deployerbot: fail early on nix flake check
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user