From 9b389fbe69fbc95ecaf6110103bff0760d6b78b7 Mon Sep 17 00:00:00 2001 From: ange Date: Mon, 18 Nov 2024 16:27:29 +0000 Subject: [PATCH] verbose --- mirror.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/mirror.sh b/mirror.sh index 24d0eb5..9db5614 100755 --- a/mirror.sh +++ b/mirror.sh @@ -7,6 +7,7 @@ chmod 600 "$HOME/.ssh/id_ed25519" URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$INPUT_TOKEN@}/$GITHUB_REPOSITORY" +set -x git init -b "$GITHUB_REF_NAME" git remote add origin "$URL" git fetch --no-tags --prune --no-recurse-submodules origin "$GITHUB_SHA"