Skip to content

Commit

Permalink
Publish robo.phar to the 'site' branch instead of the 'gh-pages' branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Nov 15, 2016
1 parent 78a25a4 commit 1f7ce68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,15 +361,15 @@ public function pharPublish()
$this->_rename('robo.phar', 'robo-release.phar');
$this->collectionBuilder()
->taskGitStack()
->checkout('gh-pages')
->pull('origin gh-pages')
->checkout('site')
->pull('origin site')
->taskFilesystemStack()
->remove('robo.phar')
->rename('robo-release.phar', 'robo.phar')
->taskGitStack()
->add('robo.phar')
->commit('phar updated')
->push('origin gh-pages')
->push('origin site')
->checkout('master')
->run();
}
Expand Down

0 comments on commit 1f7ce68

Please sign in to comment.