From 82725684f931e4166e4f909f10bc71476fb282d7 Mon Sep 17 00:00:00 2001 From: Burnett01 Date: Mon, 1 Sep 2025 13:34:12 +0000 Subject: [PATCH] fix: replace exec with sh -c for rsync command execution in entrypoint script --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 868db4f..7e54b5b 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,7 +30,7 @@ LOCAL_PATH="$GITHUB_WORKSPACE/$INPUT_PATH" DSN="$INPUT_REMOTE_USER@$INPUT_REMOTE_HOST" # Deploy. -exec rsync $INPUT_SWITCHES -e "'$RSH'" "$LOCAL_PATH" "$DSN:$INPUT_REMOTE_PATH" +sh -c "rsync $SWITCHES -e '$RSH' $LOCAL_PATH $DSN:$INPUT_REMOTE_PATH" # Clean up. source agent-stop "$GITHUB_ACTION"