Skip to content

Commit

Permalink
Prevent early override of writable directories in Laravel recipe
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
ramil-ubc committed Jun 27, 2024
1 parent 78f1cfd commit 7fb2395
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions recipes/laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@

add('recipes', ['laravel']);

set('writable_dirs', [
'bootstrap/cache',
]);

// Override shared directories.
set('shared_dirs', ['storage']);
set('shared_files', ['.env']);
Expand Down

0 comments on commit 7fb2395

Please sign in to comment.