From bf4490ac45fe58c3169e3bedfe6716e1696ae454 Mon Sep 17 00:00:00 2001 From: vickytechkey Date: Tue, 8 Sep 2026 23:05:42 +0530 Subject: [PATCH] Add storage:link to setup-ec2.yml workflow --- .forgejo/workflows/setup-ec2.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/setup-ec2.yml b/.forgejo/workflows/setup-ec2.yml index 4d8a33f8..cc23f362 100644 --- a/.forgejo/workflows/setup-ec2.yml +++ b/.forgejo/workflows/setup-ec2.yml @@ -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