diff --git a/modules/services/deployerbot/default.nix b/modules/services/deployerbot/default.nix index 57184f0..c75e73b 100644 --- a/modules/services/deployerbot/default.nix +++ b/modules/services/deployerbot/default.nix @@ -83,7 +83,7 @@ --targets ${deployDerivationsStr} -- \ --accept-flake-config || EXITCODE=1 - if [[ $EXITCODE != 0 ]]; then + if [[ $EXITCODE == 0 ]]; then git push origin main fi