Skip to content

Commit

Permalink
Added missing deploy task to recipe/common (#3526)
Browse files Browse the repository at this point in the history
Co-authored-by: HereticPilgrim <[email protected]>
  • Loading branch information
HereticPilgrim and HereticPilgrim authored Mar 2, 2023
1 parent 4a4e69a commit e6a3364
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
19 changes: 16 additions & 3 deletions docs/recipe/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,24 +225,37 @@ 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)



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)



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.

Expand Down
7 changes: 7 additions & 0 deletions recipe/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@
'deploy:success',
]);

desc('Deploys your project');
task('deploy', [
'deploy:prepare',
'deploy:publish',
]);


/**
* Prints success message
*/
Expand Down

0 comments on commit e6a3364

Please sign in to comment.