mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-06 09:28:57 +02:00
git local commands should be executed in the deployment:from directory
This commit is contained in:
@@ -54,9 +54,10 @@ class UpdateTask extends AbstractTask
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$command = 'cd ' . $this->getConfig()->deployment('from', './') . '; ';
|
||||
switch ($this->getConfig()->general('scm')) {
|
||||
case 'git':
|
||||
$command = 'git pull';
|
||||
$command .= 'git pull';
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user