From c1aba645733903df67636e1834d8c9edae7c1987 Mon Sep 17 00:00:00 2001 From: chenhang Date: Wed, 8 Jul 2026 18:52:04 +0800 Subject: [PATCH] fix(deploy): simplify push arguments for main branch --- scripts/deploy/_deploy_lib.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/deploy/_deploy_lib.sh b/scripts/deploy/_deploy_lib.sh index 17b0d595..e4c8123f 100755 --- a/scripts/deploy/_deploy_lib.sh +++ b/scripts/deploy/_deploy_lib.sh @@ -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 ..."