Deploy notifications from any CI

Updated 21 November 2026 5 min read

Most CI systems email you about a failed pipeline, and that email waits with everything else. A deploy is different: it’s the moment production changes, and you want to hear about it wherever you are, with failures loud and successes quiet. The honk CLI does that in any runner that can run a binary, and Vercel and Netlify can do it on their own, with no step in your pipeline.

The pattern is the same everywhere. A failed deploy is a problem in the group deploy/<app>/<environment>. A successful deploy is a recovery for the same group: after a failure, it closes the incident, and after a good deploy, it simply tells you it worked.

Before you start

  • A Honk! Honk! account (invite-only for now: request access) and a project for deploys with an ingestion key.
  • HONK_URL and HONK_KEY as secrets in your CI.
  • The honk CLI in the deploy image: go install github.com/honk-hq/go/cmd/honk@latest, or a binary from the releases page.
  • For Vercel or Netlify, no key and no CLI: a connection instead, which you create in a workspace where you’re an owner or admin.

A deploy script

If you deploy with a script, a trap reports any line that fails, and the last line reports success:

#!/usr/bin/env bash
# deploy.sh: tell Honk when a deploy fails, and when it worked
set -euo pipefail
app=shop env=production rev=$(git rev-parse --short HEAD)

trap 'honk uhoh --group-key "deploy/$app/$env" --title "Deploy of $app failed" \
  --message "$rev failed at line $LINENO" --category deployments || true' ERR

./build.sh
./migrate.sh
./switch.sh

# a recovery closes a failed deploy's episode; after a good one it simply notifies
honk phew --group-key "deploy/$app/$env" --title "Deployed $app $rev" \
  --message "to $env, nothing caught fire" --category deployments --idempotency-key "deploy-$app-$rev" || true

The idempotency key is built from the app and the revision, so running the same deploy twice reports it only once.

GitLab CI

after_script runs after the job whether it passed or failed, and CI_JOB_STATUS says which:

deploy:
  stage: deploy
  script:
    - ./deploy.sh production
  after_script:
    - |
      if [ "$CI_JOB_STATUS" = "success" ]; then
        honk phew --group-key "deploy/$CI_PROJECT_PATH/production" \
          --title "Deployed $CI_PROJECT_NAME" --message "$CI_COMMIT_SHORT_SHA to production" \
          --category deployments --idempotency-key "deploy-$CI_PIPELINE_ID-ok" || true
      else
        honk uhoh --group-key "deploy/$CI_PROJECT_PATH/production" \
          --title "Deploy failed: $CI_PROJECT_NAME" --message "$CI_PIPELINE_URL" \
          --category deployments --idempotency-key "deploy-$CI_PIPELINE_ID-failed" || true
      fi

GitHub Actions

if: always() runs the step either way, and job.status says how the job has gone so far:

      - name: Tell Honk about the deploy
        if: always()
        env:
          HONK_URL: ${{ secrets.HONK_URL }}
          HONK_KEY: ${{ secrets.HONK_KEY }}
          STATUS: ${{ job.status }}
        run: |
          if [ "$STATUS" = "success" ]; then
            honk phew --group-key "deploy/${{ github.repository }}/production" \
              --title "Deployed ${{ github.repository }}" --message "${{ github.sha }} to production" \
              --category deployments --idempotency-key "deploy-${{ github.run_id }}-${{ github.run_attempt }}" || true
          else
            honk uhoh --group-key "deploy/${{ github.repository }}/production" \
              --title "Deploy failed: ${{ github.repository }}" \
              --message "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
              --category deployments --idempotency-key "deploy-${{ github.run_id }}-${{ github.run_attempt }}" || true
          fi

The idempotency key includes the run attempt, so Re-run reports a new deploy while the CLI’s own retries never duplicate one.

Vercel

Vercel can report its deployments to Honk! Honk! by itself. Its webhooks belong to a team and are available on Vercel’s Pro and Enterprise plans.

  1. In the Honk! Honk! web app, open the project, go to Connections and click Connect a service. Choose Vercel, keep the name or change it, and click Connect. Copy the Webhook URL.
  2. In Vercel, choose your team and open Settings ▸ Webhooks. Under Deployment Events, tick Deployment Succeeded, Deployment Error and Deployment Cancelled. Under Firewall events, you can also tick Attack Detected.
  3. Choose the projects to watch, paste the URL from Honk! Honk! as the endpoint URL and click Create Webhook.
  4. Vercel shows the webhook’s secret only once, in the Webhook Created dialog. Copy it, paste it into Signing secret in Honk! Honk! and click Save secret. Honk! Honk! refuses Vercel’s deliveries until the secret is saved.

A failed deployment opens a problem at level Error, titled with the project and the environment, such as “shop · production”, with a link to the deployment. The next successful deployment of the same project and environment closes it. Previews get one group per branch, such as “shop · preview · fix-checkout”, so a broken preview never mixes with production or with another branch. A canceled deployment is an Info-level message in the same group, and a detected attack a Warning-level message in a group of its own.

Netlify

  1. In the Honk! Honk! web app, create a connection the same way, choosing Netlify, and copy its Webhook URL.
  2. In Netlify, open your project’s Project configuration ▸ Notifications ▸ Deploy notifications and choose Add notification ▸ HTTP POST request. Pick Deploy failed as the event and paste the URL as the URL to notify. Then add a second notification for Deploy succeeded, with the same URL.
  3. Optional: under Signing secret in Honk! Honk!, click Generate, paste the secret into JWS secret token in both notifications, and click Save secret. Without a secret, the URL itself is the key: keep it private.

A failed deploy opens a problem at level Error, titled with the site and the deploy context, such as “shop · production”, with Netlify’s error message. The next successful deploy in the same context closes it. Deploy previews and branch deploys get one group per branch, such as “shop · deploy-preview · fix-checkout”.

With Vercel and Netlify, a successful deploy with no open problem arrives as a plain Success-level message, so you still hear that it went out. Their groups are their own, not deploy/<app>/<environment>: if a pipeline also reports the same deploys with the CLI, keep one of the two, or every deploy arrives twice. Each connection counts toward your workspace’s plan: Free includes 2, Pro 20 and Team 100.

Make successful deploys quieter

A push for every deploy is useful on a quiet project and too much on a busy one. Instead of changing the pipeline, add a rule to the project in the web app: when the category is deployments and the event type is recovery, set notifications to Digest only. Successful deploys then arrive bundled every 15 minutes, while a failed deploy still pushes right away. For Vercel or Netlify, make the condition Channel equals deployment.succeeded or deploy_succeeded instead: that covers their plain successes too.

Why recoveries, not plain events

A plain “Deployed” event would land in its own group every time, and a failed deploy would sit in Attention until it went inactive a day later. Reporting success as a recovery for the deploy’s group closes the failure the moment the fix is live, and keeps the whole history of one app and environment in one place.

Honk! Honk! is invite-only for now: request access. Everything in this guide works on the Free plan.