From 93eda1c97c62bfb0cc06f37f9ed8a5d47f93ca03 Mon Sep 17 00:00:00 2001 From: Burnett01 Date: Mon, 1 Sep 2025 13:38:32 +0000 Subject: [PATCH] fix: ensure proper initialization and cleanup of known hosts in entrypoint script --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index d2828a8..6ed4329 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,6 +9,7 @@ fi # Initialize SSH and known hosts. source ssh-init +source hosts-init # Start the SSH agent and load key. source agent-start default @@ -34,4 +35,6 @@ sh -c "rsync $INPUT_SWITCHES -e '$RSH' $LOCAL_PATH $DSN:$INPUT_REMOTE_PATH" # Clean up. source agent-stop "$GITHUB_ACTION" +source hosts-clear +exit 0