From cc61a3602f3688c592b2cb5ed8470754aac96907 Mon Sep 17 00:00:00 2001 From: Deeka Wong Date: Mon, 14 Oct 2024 20:27:18 +0800 Subject: [PATCH] Optimized cnb mirror CI (#7117) --- .github/workflows/cnb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cnb.yml b/.github/workflows/cnb.yml index 756291c5e..bbb05ad9d 100644 --- a/.github/workflows/cnb.yml +++ b/.github/workflows/cnb.yml @@ -18,4 +18,4 @@ jobs: # git fetch -p origin # git for-each-ref --format 'delete %(refname)' refs/pull | git update-ref --stdin # git push --mirror - git push --prune "$DESTINATION_REPO" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*" + git push -f --prune "$DESTINATION_REPO" "refs/heads/*:refs/heads/*" "refs/tags/*:refs/tags/*"