Fix deployment: use pre-built image and fix workflow syntax
Some checks failed
Deploy Production Email Reports (Unified) / deploy (push) Failing after 23s

This commit is contained in:
Frank John Begornia
2026-01-02 01:41:57 +08:00
parent 388d02051f
commit 0f75206307
4 changed files with 14 additions and 10 deletions

View File

@@ -146,7 +146,8 @@ jobs:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
run: |
ssh -i ~/.ssh/id_ed25519 $DEPLOY_USER@$DEPLOY_HOST << 'EOF'
echo "Container status:"unified --format "table {{.Names}}\t{{.Status}}\t{{.State}}"
echo "Container status:"
docker ps --filter "name=email_reports_unified" --format "table {{.Names}}\t{{.Status}}\t{{.State}}"
echo ""
echo "Recent logs:"
@@ -163,6 +164,5 @@ jobs:
echo ""
echo "Filter by brand:"
echo " docker exec email_reports_unified grep '[CREW]' /app/email.log"
echo " docker exec email_reports_unified grep '[MERCHBAY]'
echo " docker exec email_reports_crew tail -f /app/email.log"
echo " docker exec email_reports_unified grep '[MERCHBAY]' /app/email.log"
EOF