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:
Tomas Majer 2015-01-29 11:51:58 +01:00
parent 60c5fde1d4
commit abe110fe35

View File

@ -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');