Example #1
0
 public function testFromFile()
 {
     $gitdeploy = GitDeploy::fromFile($this->fixtures . 'git-deploy.json');
     $this->assertNotEmpty($gitdeploy);
 }
Example #2
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $deploy = GitDeploy::fromFile($input->getOption('file'));
     $deploy->deploy();
 }