mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-04 08:28:57 +02:00
force use of sh on remote server and make directory ownership check more portable
This commit is contained in:
@@ -79,6 +79,10 @@ class RsyncTask extends AbstractTask implements IsReleaseAware
|
||||
$deployToDirectory = rtrim($this->getConfig()->deployment('to'), '/')
|
||||
. '/' . $releasesDirectory
|
||||
. '/' . $this->getConfig()->getReleaseId();
|
||||
|
||||
Console::log('Deploy to ' . $deployToDirectory);
|
||||
|
||||
|
||||
$resultFetch = $this->runCommandRemote('ls -ld current | cut -d"/" -f2', $currentRelease);
|
||||
|
||||
if ($resultFetch && $currentRelease) {
|
||||
|
||||
Reference in New Issue
Block a user