Skip to content

Commit

Permalink
Update Laravel recipe add pulse tasks (#3809)
Browse files Browse the repository at this point in the history
* Add laravel pulse tasks

* Add docs
  • Loading branch information
mhdcodes authored Apr 15, 2024
1 parent f3703cf commit cc9c35e
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
34 changes: 33 additions & 1 deletion docs/recipe/laravel.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,8 +461,40 @@ Publish all of the Laravel Nova resources.



### artisan:pulse:check
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L248)

Starts the Pulse server.




### artisan:pulse:restart
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L251)

Restarts the Pulse server.




### artisan:pulse:purge
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L254)

Purges all Pulse data from storage.




### artisan:pulse:work
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L257)

Process incoming Pulse data from the ingest stream.




### deploy
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L247)
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L263)

Deploys your project.

Expand Down
16 changes: 16 additions & 0 deletions recipe/laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,22 @@ function laravel_version_compare($version, $comparator)
desc('Publish all of the Laravel Nova resources');
task('artisan:nova:publish', artisan('nova:publish'));

/*
* Pulse.
*/

desc('Starts the Pulse server');
task('artisan:pulse:check', artisan('pulse:check'));

desc('Restarts the Pulse server');
task('artisan:pulse:restart', artisan('pulse:restart'));

desc('Purges all Pulse data from storage');
task('artisan:pulse:purge', artisan('pulse:purge'));

desc('Process incoming Pulse data from the ingest stream');
task('artisan:pulse:work', artisan('pulse:work'));

/**
* Main deploy task.
*/
Expand Down

0 comments on commit cc9c35e

Please sign in to comment.