From 3c226ceb35bd361a74735cb471a23c9b6d7e29d9 Mon Sep 17 00:00:00 2001 From: NianBroken Date: Wed, 21 Feb 2024 23:30:55 +0800 Subject: [PATCH] add --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index baf4304..b7fcadd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -238,8 +238,8 @@ jobs: # 创建 ThirtyMinutesAgo 分支并推送到远程 - name: Create ThirtyMinutesAgo Branch run: | - git checkout -b ThirtyMinutesAgo - git push -u origin ThirtyMinutesAgo + git checkout -b ThirtyMinutesAgo || git checkout ThirtyMinutesAgo + git push -f origin ThirtyMinutesAgo # 强制将 main 分支内容复制到 ThirtyMinutesAgo 分支并推送到远程 - name: Force Push Main to ThirtyMinutesAgo