fix: set proper permissions for storage in CI
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -15,6 +15,8 @@ steps:
|
|||||||
- mkdir -p storage/framework/{cache,sessions,views}
|
- mkdir -p storage/framework/{cache,sessions,views}
|
||||||
- mkdir -p storage/logs
|
- mkdir -p storage/logs
|
||||||
- mkdir -p bootstrap/cache
|
- mkdir -p bootstrap/cache
|
||||||
|
# Set proper permissions for Laravel
|
||||||
|
- chmod -R 775 storage bootstrap/cache
|
||||||
- php artisan key:generate
|
- php artisan key:generate
|
||||||
# Now run composer install with existing storage
|
# Now run composer install with existing storage
|
||||||
- composer install --prefer-dist --no-progress --no-interaction
|
- composer install --prefer-dist --no-progress --no-interaction
|
||||||
|
|||||||
Reference in New Issue
Block a user