Added missing deploy task to recipe/common (#3526)

Co-authored-by: HereticPilgrim <manuel.grauwiler@transformatik.ch>
This commit is contained in:
HereticPilgrim 2023-03-02 19:05:13 +01:00 committed by GitHub
parent 4a4e69a8c5
commit e6a3364fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 3 deletions

View File

@ -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.

View File

@ -152,6 +152,13 @@ task('deploy:publish', [
'deploy:success',
]);
desc('Deploys your project');
task('deploy', [
'deploy:prepare',
'deploy:publish',
]);
/**
* Prints success message
*/