---
title: deploy
description: A code deploy reported to Honeybadger. Each deploy creates one event per environment. There is no separate started or finished event.
url: https://docs.honeybadger.io/insights/event-types/honeybadger/deploy/
---

A code deploy reported to Honeybadger. Each deploy creates one event per environment. There is no separate started or finished event.

Category **Deploys** Fields **6** honeybadger

## Fields

| Field            | Type           | Description                                                                              |
| ---------------- | -------------- | ---------------------------------------------------------------------------------------- |
| `event_type`     | string         | Allowed value: `deploy`.                                                                 |
| `environment`    | string         | Target environment of the deploy, e.g. "production", "staging".                          |
| `revision`       | string         | Source revision (commit SHA) being deployed.                                             |
| `repository`     | string         | Repository URL, when reported.                                                           |
| `local_username` | string         | Username on the deploying machine.                                                       |
| `commits`        | array\<object> | Commits included in this deploy when reported. Omitted on deploys without a commit list. |

## Example

```json
{
  "event_type": "deploy",
  "environment": "production",
  "revision": "a3f8c12d9b4e6f7a8c01d2e3f4a5b6c7d8e9f0a1",
  "repository": "https://github.com/example/myapp",
  "local_username": "deploy",
  "commits": [
    {
      "revision": "a3f8c12d9b4e6f7a8c01d2e3f4a5b6c7d8e9f0a1",
      "message": "Fix checkout total calculation",
      "author": "Jane Developer"
    }
  ]
}
```

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
