Skip to content

Commit b916d14

Browse files
committed
fix running php
1 parent ff39012 commit b916d14

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

DeployApplication.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,9 @@ private function exec(array $commands)
176176
if (is_array($command)) {
177177
$this->exec($command);
178178
} else {
179-
if (is_string($key)) {
179+
if ($key === 'php') {
180+
$command = $this->php() . ' ' . $command;
181+
} else if (is_string($key)) {
180182
$this->extendEnvironmentPath($key);
181183
$command = $key . ' ' . $command;
182184
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "optimistex/git-auto-deploy-ex",
3-
"version": "1.3.4",
3+
"version": "1.3.5",
44
"type": "library",
55
"description": "The little project for auto-deploying projects to a hosting",
66
"keywords": [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-auto-deploy-ex",
3-
"version": "1.3.4",
3+
"version": "1.3.5",
44
"description": "The little project for auto-deploying projects to a hosting",
55
"main": "index.js",
66
"directories": {

0 commit comments

Comments
 (0)