diff --git a/docs/recipe/common.md b/docs/recipe/common.md index 97d83526b..b04befb8b 100644 --- a/docs/recipe/common.md +++ b/docs/recipe/common.md @@ -225,8 +225,21 @@ This task is group task which contains next tasks: * [deploy:success](/docs/recipe/common.md#deploysuccess) +### deploy +[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L156) + +Deploys your project. + + + + +This task is group task which contains next tasks: +* [deploy:prepare](/docs/recipe/common.md#deployprepare) +* [deploy:publish](/docs/recipe/common.md#deploypublish) + + ### deploy:success -[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L158) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L165) @@ -234,7 +247,7 @@ Prints success message ### deploy:failed -[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L167) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L174) @@ -242,7 +255,7 @@ Hook on deploy failure. ### logs:app -[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L177) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/common.php#L184) Shows application logs. diff --git a/recipe/common.php b/recipe/common.php index 9d1915f52..392c52b21 100644 --- a/recipe/common.php +++ b/recipe/common.php @@ -152,6 +152,13 @@ 'deploy:success', ]); +desc('Deploys your project'); +task('deploy', [ + 'deploy:prepare', + 'deploy:publish', +]); + + /** * Prints success message */