From 7fb2395e641de9bf70ee76801e587857f0d80b8e Mon Sep 17 00:00:00 2001 From: Ramil Gonzaga Date: Thu, 27 Jun 2024 16:56:21 -0700 Subject: [PATCH] Prevent early override of writable directories in Laravel recipe - Set 'bootstrap/cache' as a writable directory in the Laravel deployment recipe to correct an issue where earlier configurations were overriding this list, ensuring consistent cache functionality during deployment. --- recipes/laravel.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes/laravel.php b/recipes/laravel.php index 696bba6..b29e9d2 100644 --- a/recipes/laravel.php +++ b/recipes/laravel.php @@ -10,6 +10,10 @@ add('recipes', ['laravel']); +set('writable_dirs', [ + 'bootstrap/cache', +]); + // Override shared directories. set('shared_dirs', ['storage']); set('shared_files', ['.env']);