mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Tweaks on port definition.
Now port can be defined into the hostname.
This commit is contained in:
@@ -36,7 +36,7 @@ class Mage_Task_BuiltIn_Deployment_Rsync
|
||||
}
|
||||
|
||||
$command = 'rsync -avz '
|
||||
. '--rsh="ssh -p' . $this->_config->deployment('port', '22') . '" '
|
||||
. '--rsh="ssh -p' . $this->_config->getHostPort() . '" '
|
||||
. $this->_excludes(array_merge($excludes, $userExcludes)) . ' '
|
||||
. $this->_config->deployment('from') . ' '
|
||||
. $this->_config->deployment('user') . '@' . $this->_config->getHost() . ':' . $deployToDirectory;
|
||||
|
||||
Reference in New Issue
Block a user