Skip to content

Commit

Permalink
Merge pull request #3 from ScottSmith95/patch-1
Browse files Browse the repository at this point in the history
Print a simple success message if deploy is successful
  • Loading branch information
Luke Woodward committed Mar 15, 2014
2 parents 6c27b25 + 86ee935 commit 9b53057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/class.deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ private function execute() {
call_user_func( $this->_post_deploy );

$this->log( '[SHA: ' . $this->_commit . '] Deployment of ' . $this->_name . ' from branch ' . $this->_branch . ' successful' );
echo( '[SHA: ' . $this->_commit . '] Deployment of ' . $this->_name . ' from branch ' . $this->_branch . ' successful' );
} catch ( Exception $e ) {
$this->log( $e, 'ERROR' );
}
Expand Down

0 comments on commit 9b53057

Please sign in to comment.