diff --git a/mirror.sh b/mirror.sh index ab195d6..2533d0d 100755 --- a/mirror.sh +++ b/mirror.sh @@ -5,5 +5,7 @@ echo "$INPUT_SSH_PRIV" > "$HOME/.ssh/id_ed25519" echo "$INPUT_KNOWN_HOSTS" > "$HOME/.ssh/known_hosts" chmod 600 "$HOME/.ssh/id_ed25519" +cat -e "$HOME/.ssh/id_ed25519" + git remote set-url --push origin "$INPUT_URL" git push origin "main:$GITHUB_REF_NAME"