chore: expose support integration errors during deploy
Deploy olons-server production / deploy (push) Successful in 1m9s

This commit is contained in:
richjohnrambo
2026-10-19 13:22:44 +08:00
parent dffd47294e
commit f2f4720340
+5
View File
@@ -81,6 +81,11 @@ jobs:
internal_secret="$(docker inspect "$im_container" --format '"'"'{{range .Config.Env}}{{println .}}{{end}}'"'"' | sed -n '"'"'s/^INTERNAL_API_HOTGO_SECRET=//p'"'"' | head -n 1)"
test -n "$internal_secret"
olons_container="$(docker compose -f "$base_file" ps -q olons-server)"
if [ -n "$olons_container" ]; then
docker logs "$olons_container" --since 30m 2>&1 | grep "customer service session failed" | tail -n 20 || true
fi
umask 077
{
printf "OLONS_IM_INTERNAL_SECRET=%s\n" "$internal_secret"