From 58428892a8b2996b1a29da3d96d6e3afbdcff6c2 Mon Sep 17 00:00:00 2001 From: Sharang Parnerkar <30073382+mighty840@users.noreply.github.com> Date: Wed, 8 Apr 2026 15:09:01 +0200 Subject: [PATCH] ci: log orca webhook response so the step isnt silent on success --- .gitea/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f41f716..01ae162 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -283,7 +283,9 @@ jobs: run: | PAYLOAD=$(printf '{"ref":"refs/heads/main","repository":{"full_name":"sharang/certifai"},"head_commit":{"id":"%s","message":"CI deploy"}}' "${GITHUB_SHA}") SIG=$(printf '%s' "$PAYLOAD" | openssl dgst -sha256 -hmac "${{ secrets.ORCA_WEBHOOK_SECRET }}" | awk '{print $2}') - curl -fsS -X POST "http://46.225.100.82:6880/api/v1/webhooks/github" \ + echo "Calling orca webhook for sharang/certifai@${GITHUB_SHA}" + RESP=$(curl -fsS -w "\nHTTP %{http_code}" -X POST "http://46.225.100.82:6880/api/v1/webhooks/github" \ -H "Content-Type: application/json" \ -H "X-Hub-Signature-256: sha256=$SIG" \ - -d "$PAYLOAD" + -d "$PAYLOAD") + echo "$RESP"