From f3bafec466cc945a8249899c5d7f65072d3e32b2 Mon Sep 17 00:00:00 2001 From: Pavel Bychko Date: Tue, 28 Mar 2023 00:08:34 +0300 Subject: [PATCH] Add Laravel Nova task to recipe/laravel (#3548) * Add Laravel Nova task to recipe/laravel * Update docs --- docs/recipe/laravel.md | 10 +++++++++- recipe/laravel.php | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/recipe/laravel.md b/docs/recipe/laravel.md index d24ffdf84..22e33e9c5 100644 --- a/docs/recipe/laravel.md +++ b/docs/recipe/laravel.md @@ -453,8 +453,16 @@ Check the status of the octane server. +### artisan:nova:publish +[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L241) + +Publish all of the Laravel Nova resources. + + + + ### deploy -[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L240) +[Source](https://github.com/deployphp/deployer/blob/master/recipe/laravel.php#L247) Deploys your project. diff --git a/recipe/laravel.php b/recipe/laravel.php index 574121f74..1f2cf1648 100644 --- a/recipe/laravel.php +++ b/recipe/laravel.php @@ -233,6 +233,13 @@ function laravel_version_compare($version, $comparator) desc('Check the status of the octane server'); task('artisan:octane:status', artisan('octane:status')); +/* + * Nova. + */ + +desc('Publish all of the Laravel Nova resources'); +task('artisan:nova:publish', artisan('nova:publish')); + /** * Main deploy task. */