diff options
author | Rob Loach <robloach@gmail.com> | 2015-02-08 09:36:53 -0500 |
---|---|---|
committer | Rob Loach <robloach@gmail.com> | 2015-02-08 09:36:53 -0500 |
commit | 56942fbeb71c41a074e293c58dd2633eda016198 (patch) | |
tree | a820ce826a9abd8225f6b1215422131564b3bb16 /src/GitDeploy/Console/Command/DeployCommand.php | |
parent | bc0f13b93a3b20f1640c75c9f28fe77b5a4c89ca (diff) | |
download | git-deploy-origin/master.zip git-deploy-origin/master.tar.gz git-deploy-origin/master.tar.bz2 |
Update to allow multiple branchesHEAD0.0.5origin/masterorigin/HEADmaster
Diffstat (limited to 'src/GitDeploy/Console/Command/DeployCommand.php')
-rw-r--r-- | src/GitDeploy/Console/Command/DeployCommand.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/GitDeploy/Console/Command/DeployCommand.php b/src/GitDeploy/Console/Command/DeployCommand.php index b504d4b..6a735bd 100644 --- a/src/GitDeploy/Console/Command/DeployCommand.php +++ b/src/GitDeploy/Console/Command/DeployCommand.php @@ -29,12 +29,6 @@ class DeployCommand extends Command protected function execute(InputInterface $input, OutputInterface $output) { $deploy = GitDeploy::fromFile($input->getOption('file')); - $repositories = $deploy->getRepositories(); - if (empty($repositories)) { - $output->writeln('<info>Configuration file empty.</info>'); - } - else { - $deploy->update(); - } + $deploy->deploy(); } } |