Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Do not remove all releases on rollback!
  • Loading branch information
Jelle-S committed Mar 10, 2017
2 parents 5419ca3 + 7e43698 commit 2b533ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AbstractRoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected function deployTask(
$collection->rollback(
$this->taskSsh($server, $auth)
->remoteDirectory($currentProjectRoot, true)
->exec('rm -rf ' . $remote['releasesdir'])
->exec('rm -rf ' . $releaseDir)
);
foreach ($remote['symlinks'] as $link) {
$collection->taskSsh($server, $auth)
Expand Down

0 comments on commit 2b533ab

Please sign in to comment.