diff --git a/mirror.sh b/mirror.sh index c6fefd8..bb27197 100755 --- a/mirror.sh +++ b/mirror.sh @@ -6,6 +6,7 @@ set -eu export GIT_SSH_COMMAND="ssh -v -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no -l $INPUT_SSH_USERNAME" # git remote add -m "$INPUT_TARGET_REPO_URL" git remote set-url origin "$INPUT_TARGET_REPO_URL" +git commit -m "initial commit" git push -u origin main --force # NOTE: Since `post` execution is not supported for local action from './' for now, we need to