diff --git a/recipe/deploy/update_code.php b/recipe/deploy/update_code.php index 8f264519..d5a0bced 100644 --- a/recipe/deploy/update_code.php +++ b/recipe/deploy/update_code.php @@ -76,7 +76,8 @@ task('deploy:update_code', function () { $depth = ''; } } - + + cd('{{deploy_path}}'); if ($gitCache && has('previous_release')) { try { run("$git clone $at $recursive -q --reference {{previous_release}} --dissociate $repository {{release_path}} 2>&1", $options);