From 125ffa925920559d61cc93f0f43b598e7493ad95 Mon Sep 17 00:00:00 2001 From: Pavel Bychko Date: Sun, 26 Mar 2023 18:34:54 +0300 Subject: [PATCH 1/2] Add Laravel Nova task to recipe/laravel --- recipe/laravel.php | 7 +++++++ 1 file changed, 7 insertions(+) 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. */ From 8f618db1ccf8eae809542459023ef11df40b3644 Mon Sep 17 00:00:00 2001 From: Pavel Bychko Date: Sun, 26 Mar 2023 18:41:43 +0300 Subject: [PATCH 2/2] Update docs --- docs/recipe/laravel.md | 10 +++++++++- 1 file changed, 9 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.