From 9a2701b513f7a7cdd0d9a81bfba77d9cb9fe8371 Mon Sep 17 00:00:00 2001 From: jackz Date: Wed, 11 Dec 2024 22:43:18 -0600 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 74a57d2..269e4cc 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -17,5 +17,6 @@ echo "File transfer complete." echo "Symlinking, purging old" echo "Running on ssh: ln -s ${INPUT_REMOTE}/${COMMIT_SHA} ${INPUT_REMOTE}/latest" -ssh -P "${INPUT_PORT}" "${INPUT_USER}"@"${INPUT_HOST}" \ +ssh -o StrictHostKeyChecking=no -v -i __TEMP_INPUT_KEY_FILE \ + -P "${INPUT_PORT}" "${INPUT_USER}"@"${INPUT_HOST}" \ -C "ln -s ${INPUT_REMOTE}/${COMMIT_SHA} ${INPUT_REMOTE}/latest && find ${INPUT_REMOTE} -mindepth 1 -maxdepth 1 -type d -not -path './latest' | tail -n +5 > rm_result.txt"