Skip to content

Commit d398939

Browse files
committed
debug: add backend log capture on failure
1 parent 1415c6d commit d398939

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/deploy-staging.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,7 @@ jobs:
9292
ssh -i ~/.ssh/staging_key "$SSH_USER@$SSH_HOST" "docker logs compass-supertokens-db-1 2>&1 | tail -20" || true
9393
echo "--- mongo logs ---"
9494
ssh -i ~/.ssh/staging_key "$SSH_USER@$SSH_HOST" "docker logs compass-mongo-1 2>&1 | tail -40" || true
95+
echo "--- backend logs ---"
96+
ssh -i ~/.ssh/staging_key "$SSH_USER@$SSH_HOST" "docker logs compass-backend-1 2>&1 | tail -60" || true
9597
exit 1
9698
}

0 commit comments

Comments
 (0)