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"