fix: run artisan key:generate after composer install
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:
@@ -17,9 +17,10 @@ steps:
|
|||||||
- mkdir -p bootstrap/cache
|
- mkdir -p bootstrap/cache
|
||||||
# Set proper permissions for Laravel
|
# Set proper permissions for Laravel
|
||||||
- chmod -R 775 storage bootstrap/cache
|
- chmod -R 775 storage bootstrap/cache
|
||||||
- php artisan key:generate
|
# Now run composer install (vendor/ needed for artisan)
|
||||||
# Now run composer install with existing storage
|
|
||||||
- composer install --prefer-dist --no-progress --no-interaction
|
- composer install --prefer-dist --no-progress --no-interaction
|
||||||
|
# Generate app key after composer install
|
||||||
|
- php artisan key:generate
|
||||||
- composer validate --strict
|
- composer validate --strict
|
||||||
- echo "✓ Composer validation passed"
|
- echo "✓ Composer validation passed"
|
||||||
# Uncomment when tests are ready:
|
# Uncomment when tests are ready:
|
||||||
|
|||||||
Reference in New Issue
Block a user