Fix deployment: use pre-built image and fix workflow syntax
Some checks failed
Deploy Production Email Reports (Unified) / deploy (push) Failing after 23s
Some checks failed
Deploy Production Email Reports (Unified) / deploy (push) Failing after 23s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user