This commit is contained in:
francesco
2026-06-19 16:40:19 +02:00
parent 5a32bebe32
commit abd6e5c21b
2 changed files with 15 additions and 0 deletions

View File

@@ -174,6 +174,13 @@ else
echo "[✓] Storage symlink already exists."
fi
# -----------------------------------------------
# 6b. Clear any stale cached config from a previous deploy
# (a cached bootstrap/cache/config.php would override the .env above)
# -----------------------------------------------
echo "[*] Clearing stale cached config..."
php artisan config:clear || warn "config:clear failed; continuing startup."
# -----------------------------------------------
# 7. Run migrations
# -----------------------------------------------