diff --git a/entrypoint.sh b/entrypoint.sh index 45fe097..9ab8325 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,4 +10,4 @@ chmod 600 "$SSH_PATH/deploy_key" # Do deployment -sh -c "rsync $1 -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no' $2 $GITHUB_WORKSPACE/ $3" +sh -c "rsync $FLAGS -e 'ssh -i $SSH_PATH/deploy_key -o StrictHostKeyChecking=no' $EXCLUDES $GITHUB_WORKSPACE/$LOCALPATH $USER@$HOST:$REMOTEPATH"