mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Change output for cloning repository
Changed output when cloning repository, because of initialization of submodule. Git always output some text, and this is actually considered as error. Update provide possibility to deploy repository with submodules.
This commit is contained in:
parent
60c5fde1d4
commit
abe110fe35
@ -77,7 +77,7 @@ task('deploy:release', function () {
|
||||
*/
|
||||
task('deploy:update_code', function () {
|
||||
$repository = get('repository');
|
||||
run("git clone --recursive -q $repository {release_path}");
|
||||
run("git clone --recursive -q $repository {release_path} 2>&1");
|
||||
run("chmod -R g+w {release_path}");
|
||||
})->desc('Updating code');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user