diff --git a/ci-tools/update-nixpkgs b/ci-tools/update-nixpkgs
index fa0791ffab1f5c51cb0c2ce6c6ad25d2c806acb9..4c7d165034f167cf6efc9cba1180748991ce8022 100755
--- a/ci-tools/update-nixpkgs
+++ b/ci-tools/update-nixpkgs
@@ -18,7 +18,7 @@ nix-build -A morph -o result-after
 diff=$(nix --extra-experimental-features nix-command store diff-closures ./result-before/ ./result-after/)
 
 git commit -am "bump nixpkgs version"
-git push origin
+git push origin "${TARGET_BRANCH}:${TARGET_BRANCH}"
 
 BODY="{
     \"id\": ${CI_PROJECT_ID},