debug stagging
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Build, Push and Deploy / build-and-push (push) Successful in 2m23s
Build, Push and Deploy / deploy-staging (push) Successful in 27s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s

This commit is contained in:
eko
2026-03-29 05:26:32 +07:00
parent 8e251b9f50
commit a8c15300e7

View File

@@ -75,7 +75,7 @@ echo "Setup complete. Starting application..."
echo "========================================" echo "========================================"
# Start the application with proper error handling # Start the application with proper error handling
if [ "$MODE" = "dev" ]; then if [ "$MODE" = "staging" ]; then
echo "Starting PHP built-in server on port 8000..." echo "Starting PHP built-in server on port 8000..."
# Use exec with error capture # Use exec with error capture
exec php artisan serve --host=0.0.0.0 --port=8000 2>&1 | tee -a /var/log/php-server.log exec php artisan serve --host=0.0.0.0 --port=8000 2>&1 | tee -a /var/log/php-server.log