fix: show Phoenix logs after startup delay

This commit is contained in:
Graham McIntire 2026-03-07 16:38:59 -06:00
parent 51e35182c1
commit 4665ee6b53
No known key found for this signature in database

View file

@ -163,7 +163,11 @@ jobs:
mix phx.server > phoenix.log 2>&1 &
echo $! > phoenix.pid
echo "Phoenix server started with PID $(cat phoenix.pid)"
tail -f phoenix.log &
sleep 3
echo "=== Phoenix startup logs ==="
cat phoenix.log || echo "No logs yet"
echo "=== Process status ==="
ps aux | grep $(cat phoenix.pid) || echo "Process not found"
env:
SECRET_KEY_BASE: ${{ secrets.SECRET_KEY_BASE || 'dev_secret_key_base_for_testing_only_min_64_chars_required_here' }}
PHX_HOST: localhost