From 4665ee6b53920357bbcc73a51c40b5e9734f1866 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 7 Mar 2026 16:38:59 -0600 Subject: [PATCH] fix: show Phoenix logs after startup delay --- .forgejo/workflows/production.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/production.yaml b/.forgejo/workflows/production.yaml index 94bf8551..d1c3553a 100644 --- a/.forgejo/workflows/production.yaml +++ b/.forgejo/workflows/production.yaml @@ -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