> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# rollbar/deploy

Commands for calling the Rollbar deploy API.
Requires `curl` and `jq` commands to be available.
The source for the Orb can be found here:
https://github.com/rollbar/rollbar-orb/tree/master/src/rollbar


## Commands

### notify_deploy_started

A step to notify Rollbar that the deploy of a project has started.
Should be used in conjunction with notify_deploy_finished.
Command will set a BASH ENV variable ROLLBAR_DEPLOY_ID with the ID of the deploy.


| Parameter | Type | Default | Description |
|---|---|---|---|
| `environment` | string | production | The Rollbar environment. Defaults to production. |

### notify_deploy_finished

A step to notify Rollbar that the deploy of a project has finished.
Should be used in conjunction with notify_deploy_started.


| Parameter | Type | Default | Description |
|---|---|---|---|
| `deploy_id` | string |  | The deploy_id of the deploy to update |
| `status` | enum |  |  |

### notify_deploy

A step to notify Rollbar that the project has been successfully deployed.
A Rollbar access token is required to be set in the
environment with the name `ROLLBAR_ACCESS_TOKEN`.
Add this as the last step of your the job that you
use to deploy.


| Parameter | Type | Default | Description |
|---|---|---|---|
| `environment` | string | production | The Rollbar environment. Defaults to production. |

### upload_sourcemap

A step to upload a sourcemap to Rollbar during a deploy.

| Parameter | Type | Default | Description |
|---|---|---|---|
| `minified_url` | string |  | The full URL of the minified file. |
| `source_map` | string |  | The path to the local copy of the source map |
| `js_files` | string |  | An array of local paths to unminified javascript files. |