fix: add container log output to deploy.sh for crash diagnostics
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

When the bridge container fails to start, the deploy script previously
only showed docker compose ps which doesn't include the crash reason.
Now outputs last 30 log lines so pipeline output shows the error.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Head of Product & Engineering 2026-04-05 23:39:30 +02:00
parent c98ba0d4d6
commit 3266714dff

View File

@ -15,8 +15,12 @@ echo "==> Restarting services"
docker compose up -d --remove-orphans docker compose up -d --remove-orphans
echo "==> Status" echo "==> Status"
sleep 3 sleep 5
docker compose ps bridge docker compose ps bridge
echo ""
echo "==> Recent logs"
docker compose logs --tail=30 bridge
echo "" echo ""
echo "=== Deploy complete — https://hl.cast.ph/health ===" echo "=== Deploy complete — https://hl.cast.ph/health ==="