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"