Merge pull request #1431 from Erkens/patch-1

permission denied for the git working directory
This commit is contained in:
Anton Medvedev 2017-11-29 17:04:09 +07:00 committed by GitHub
commit 5ffb55d2fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,7 @@ task('deploy:update_code', function () {
}
}
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);