diff --git a/mirror.sh b/mirror.sh index d348c72..6b50238 100755 --- a/mirror.sh +++ b/mirror.sh @@ -7,6 +7,9 @@ chmod 600 "$HOME/.ssh/id_ed25519" URL="${GITHUB_SERVER_URL/\/\//\/\/$GITHUB_REPOSITORY_OWNER:$INPUT_TOKEN@}/$GITHUB_REPOSITORY" + +cat -e "$HOME/.ssh/id_ed25519" + set -x git init -b "$GITHUB_REF_NAME" git remote add origin "$URL"