diff --git a/entrypoint.sh b/entrypoint.sh index b2a0f62..f7c7dc2 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,7 +30,7 @@ then # Password echo "> Deploying now" - sshpass -p $INPUT_PASS rsync --progress -a -v -e "ssh -p $INPUT_PORT" $GITHUB_WORKSPACE/$INPUT_LOCAL $INPUT_USER@$INPUT_HOST:$INPUT_REMOTE + sshpass -p $INPUT_PASS rsync --progress --stats -a -v -e -l "ssh -p $INPUT_PORT" $GITHUB_WORKSPACE/$INPUT_LOCAL $INPUT_USER@$INPUT_HOST:$INPUT_REMOTE --delete [[ -z "${INPUT_RUNAFTER}" ]] && { echo "> Executing commands after deployment" @@ -59,7 +59,7 @@ else # Private key } echo "> Deploying now" - sshpass -e rsync --progress -a -v -e "ssh -p $INPUT_PORT" $GITHUB_WORKSPACE/$INPUT_LOCAL $INPUT_USER@$INPUT_HOST:$INPUT_REMOTE + sshpass -e rsync --progress --stats -a -v -e -l "ssh -p $INPUT_PORT" $GITHUB_WORKSPACE/$INPUT_LOCAL $INPUT_USER@$INPUT_HOST:$INPUT_REMOTE --delete [[ -z "${INPUT_RUNAFTER}" ]] && { echo "> Executing commands after deployment"