@@ -36,11 +36,11 @@ |
||
| 36 | 36 | |
| 37 | 37 | private function registerDeployCommands() |
| 38 | 38 | { |
| 39 | - $this->app->singleton('command.morphatic.deployinit', function ($app) { |
|
| 39 | + $this->app->singleton('command.morphatic.deployinit', function($app) { |
|
| 40 | 40 | return $app['Morphatic\AutoDeploy\Commands\DeployInitCommand']; |
| 41 | 41 | }); |
| 42 | 42 | |
| 43 | - $this->app->singleton('command.morphatic.deployinfo', function ($app) { |
|
| 43 | + $this->app->singleton('command.morphatic.deployinfo', function($app) { |
|
| 44 | 44 | return $app['Morphatic\AutoDeploy\Commands\DeployInfoCommand']; |
| 45 | 45 | }); |
| 46 | 46 | |
@@ -40,9 +40,9 @@ |
||
| 40 | 40 | |
| 41 | 41 | if ($secret && $route) { |
| 42 | 42 | $message = "Here is the information you'll need to set up your webhook at Github:\n\n". |
| 43 | - "Payload URL: https://yourdomain.com/$route\n". |
|
| 44 | - "Secret: $secret\n\n". |
|
| 45 | - "You can display this information again by running `php artisan deploy:info`\n"; |
|
| 43 | + "Payload URL: https://yourdomain.com/$route\n". |
|
| 44 | + "Secret: $secret\n\n". |
|
| 45 | + "You can display this information again by running `php artisan deploy:info`\n"; |
|
| 46 | 46 | } |
| 47 | 47 | } else { |
| 48 | 48 | // create a new .env file and add the necessary keys |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | public function index(Request $request) |
| 16 | 16 | { |
| 17 | 17 | // which event are we handling? |
| 18 | - switch ($request->header('X-Github-Event')) { |
|
| 18 | + switch ($request->header('X-Github-Event')) { |
|
| 19 | 19 | case 'release': |
| 20 | 20 | break; |
| 21 | 21 | case 'push': |