From 393a57abddf3615826dd72f4d7f4c0781dea2fe2 Mon Sep 17 00:00:00 2001 From: ange Date: Mon, 18 Nov 2024 16:09:36 +0000 Subject: [PATCH] match --- mirror.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mirror.sh b/mirror.sh index be106a4..0f5bd44 100755 --- a/mirror.sh +++ b/mirror.sh @@ -11,5 +11,4 @@ set -x git init -b main git remote add origin "$URL" git fetch --no-tags --prune --no-recurse-submodules origin "$GITHUB_SHA" -git push --repo="$INPUT_URL" origin "$GITHUB_REF_NAME" -set +x +git push --repo="$INPUT_URL" origin "$GITHUB_SHA:$GITHUB_REF"