Add storage:link to setup-ec2.yml workflow
This commit is contained in:
parent
9483685ffd
commit
bf4490ac45
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue