Fix: Publishing assets on prod

This commit is contained in:
2026-09-28 20:10:41 +03:00
parent d053f57b10
commit c48d3b1756
-2
View File
@@ -41,7 +41,6 @@ echo "[entrypoint] Caches cleared"
php artisan storage:link --quiet 2>/dev/null || true
if [ "$APP_ENV" != "production" ]; then
# Dev-only for the same reason as the composer step above — production's
# image already has these published at build time.
php artisan vendor:publish --tag=core-assets --force --ansi --quiet
@@ -53,7 +52,6 @@ if [ "$APP_ENV" != "production" ]; then
# core-assets above, republishing must not silently wipe local edits.
# Only fills in the vendor/core views directory if it doesn't exist yet.
php artisan vendor:publish --tag=core-views --ansi --quiet
fi
# Everything below is universal, in both dev and production: application STATE
# that must be current on every boot, not a build-time concern composer/assets