Add storage:link to setup-ec2.yml workflow

This commit is contained in:
vickytechkey 2026-09-08 23:05:42 +05:30
parent 9483685ffd
commit bf4490ac45

View file

@ -107,8 +107,9 @@ jobs:
sudo chown -R www-data:www-data storage bootstrap/cache
sudo chmod -R 777 storage bootstrap/cache
# Run database migrations
# Run database migrations and link storage
php artisan migrate --force
php artisan storage:link || true
# Temporarily enable debug mode to see exactly why it is failing!
sed -i 's/APP_DEBUG=false/APP_DEBUG=true/g' .env