diff --git a/mirror.sh b/mirror.sh index 9db5614..d348c72 100755 --- a/mirror.sh +++ b/mirror.sh @@ -11,4 +11,4 @@ set -x git init -b "$GITHUB_REF_NAME" git remote add origin "$URL" git fetch --no-tags --prune --no-recurse-submodules origin "$GITHUB_SHA" -git push "$INPUT_URL" "$GITHUB_REF_NAME:$GITHUB_REF" +git push "$INPUT_URL" "$GITHUB_SHA:$GITHUB_REF"