Skip to content

Commit

Permalink
fix running php
Browse files Browse the repository at this point in the history
  • Loading branch information
optimistex committed Oct 21, 2017
1 parent ff39012 commit b916d14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion DeployApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit b916d14

Please sign in to comment.