diff --git a/DeployApplication.php b/DeployApplication.php index 12e9b09..c1ee7d6 100755 --- a/DeployApplication.php +++ b/DeployApplication.php @@ -176,7 +176,9 @@ private function exec(array $commands) if (is_array($command)) { $this->exec($command); } else { - if (is_string($key)) { + if ($key === 'php') { + $command = $this->php() . ' ' . $command; + } else if (is_string($key)) { $this->extendEnvironmentPath($key); $command = $key . ' ' . $command; } diff --git a/composer.json b/composer.json index 8e517ab..9c05a00 100755 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "optimistex/git-auto-deploy-ex", - "version": "1.3.4", + "version": "1.3.5", "type": "library", "description": "The little project for auto-deploying projects to a hosting", "keywords": [ diff --git a/package.json b/package.json index 4c1001b..1e7efa2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "git-auto-deploy-ex", - "version": "1.3.4", + "version": "1.3.5", "description": "The little project for auto-deploying projects to a hosting", "main": "index.js", "directories": {