mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Merge pull request #1431 from Erkens/patch-1
permission denied for the git working directory
This commit is contained in:
commit
5ffb55d2fd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user