From 15140fd87dbb02d29279e9f28c4b9622b86eab65 Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 8 Feb 2024 21:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=99=E6=80=81=E8=B5=84=E6=BA=90=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=A2=9E=E5=8A=A0=20git=20gc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build_docker_image.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index d9f4969b..55b9f14d 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -78,6 +78,7 @@ jobs: export GIT_SSH_COMMAND="ssh -v -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -l git" git remote add gitee "${REPO_GITEE}" git remote add gitlab "${REPO_GITLAB}" + git gc git push --force --quiet gitee ${GITHUB_BRANCH}:${GITHUB_BRANCH} git push --force --quiet gitlab ${GITHUB_BRANCH}:${GITHUB_BRANCH}