fix(deploy): simplify push arguments for main branch

This commit is contained in:
2026-07-08 18:52:04 +08:00
parent 5578691197
commit c1aba64573
+1 -4
View File
@@ -13,10 +13,7 @@ push_to_remote() {
return 1
fi
local push_args=()
if [ "$branch" = "main" ]; then
push_args+=("--force")
fi
local push_args=("--force")
echo "=========================================="
echo "git push ${push_args[*]-} $remote $branch ..."