Skip to content

Commit cc9c35e

Browse files
authored
Update Laravel recipe add pulse tasks (#3809)
* Add laravel pulse tasks * Add docs
1 parent f3703cf commit cc9c35e

File tree

2 files changed

+49
-1
lines changed

2 files changed

+49
-1
lines changed

docs/recipe/laravel.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,40 @@ Publish all of the Laravel Nova resources.
461461

462462

463463

464+
### artisan:pulse:check
465+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L248)
466+
467+
Starts the Pulse server.
468+
469+
470+
471+
472+
### artisan:pulse:restart
473+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L251)
474+
475+
Restarts the Pulse server.
476+
477+
478+
479+
480+
### artisan:pulse:purge
481+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L254)
482+
483+
Purges all Pulse data from storage.
484+
485+
486+
487+
488+
### artisan:pulse:work
489+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L257)
490+
491+
Process incoming Pulse data from the ingest stream.
492+
493+
494+
495+
464496
### deploy
465-
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L247)
497+
[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L263)
466498

467499
Deploys your project.
468500

recipe/laravel.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,22 @@ function laravel_version_compare($version, $comparator)
240240
desc('Publish all of the Laravel Nova resources');
241241
task('artisan:nova:publish', artisan('nova:publish'));
242242

243+
/*
244+
* Pulse.
245+
*/
246+
247+
desc('Starts the Pulse server');
248+
task('artisan:pulse:check', artisan('pulse:check'));
249+
250+
desc('Restarts the Pulse server');
251+
task('artisan:pulse:restart', artisan('pulse:restart'));
252+
253+
desc('Purges all Pulse data from storage');
254+
task('artisan:pulse:purge', artisan('pulse:purge'));
255+
256+
desc('Process incoming Pulse data from the ingest stream');
257+
task('artisan:pulse:work', artisan('pulse:work'));
258+
243259
/**
244260
* Main deploy task.
245261
*/

0 commit comments

Comments
 (0)