Remove unnecessary migration and route cache commands from deployment script
All checks were successful
Deploy Production (admin.merchbay.app) / deploy (push) Successful in 2m20s
All checks were successful
Deploy Production (admin.merchbay.app) / deploy (push) Successful in 2m20s
This commit is contained in:
@@ -106,10 +106,8 @@ jobs:
|
|||||||
|
|
||||||
if docker ps --format '{{.Names}}' | grep -q merchbay_admin_app; then
|
if docker ps --format '{{.Names}}' | grep -q merchbay_admin_app; then
|
||||||
echo "🧹 Running migrations and clearing caches"
|
echo "🧹 Running migrations and clearing caches"
|
||||||
docker compose exec -T app php artisan migrate --force
|
|
||||||
docker compose exec -T app php artisan config:clear
|
docker compose exec -T app php artisan config:clear
|
||||||
docker compose exec -T app php artisan config:cache
|
docker compose exec -T app php artisan config:cache
|
||||||
docker compose exec -T app php artisan route:cache
|
|
||||||
else
|
else
|
||||||
echo "❌ App container not running"
|
echo "❌ App container not running"
|
||||||
docker compose logs
|
docker compose logs
|
||||||
|
|||||||
Reference in New Issue
Block a user