RSync deployment step
Deploy your code to any server over ssh using rsync. By default it will upload the whole directory to the target.
Options
host
the hostname to connect todirectory
the remote directory to upload tosshkey
the private key file to use for authenticationuser
(optional) the username used for the connection, default isubuntu
sshport
(optional) the port that ssh uses for the connection, default is22
source
(optional) specify which source directory to upload, default is./
Example
- rsync-deploy:
host: example.org
directory: /var/www
sshkey: $PRIVATEKEY_FILE