Update Laravel recipe add pulse tasks (#3809)

* Add laravel pulse tasks

* Add docs
This commit is contained in:
Mohammed Elhaouari 2024-04-15 08:07:13 +01:00 committed by GitHub
parent f3703cf698
commit cc9c35e3fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 49 additions and 1 deletions

View File

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

View File

@ -240,6 +240,22 @@ task('artisan:octane:status', artisan('octane:status'));
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.
*/