From e6a3364fc0e24b5c1be7842cbb76f21f9597a508 Mon Sep 17 00:00:00 2001 From: HereticPilgrim <5598328+HereticPilgrim@users.noreply.github.com> Date: Thu, 2 Mar 2023 19:05:13 +0100 Subject: [PATCH] Added missing deploy task to recipe/common (#3526) Co-authored-by: HereticPilgrim --- docs/recipe/common.md | 19 ++++++++++++++++--- recipe/common.php | 7 +++++++ 2 files changed, 23 insertions(+), 3 deletions(-) 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 */