Deploy to server with SSH
Upload files to the server by SSH conection with a shell command.
Bash command
This command will promopt the user password for the user shh connection
scp -r local/dist/. #username#@#SERVER_IP#:/var/www/vhosts/mydomain.net/httpdocs/
Add sshpass command to add the password to the scp command
sshpass -p #PASSWORD# scp -r local/dist/. #USERNAME#@#SERVER_IP#:/var/www/vhosts/mydomain.net/httpdocs/