class Danger::Drone

### CI Setup

With Drone you run the docker images yourself, so you will want to add ‘bundle exec danger` at the end of your `.drone.yml`.

```shell
 build:
   image: golang
   commands:
     - ...
     - bundle exec danger
```

### Token Setup

As this is self-hosted, you will need to expose the ‘DANGER_GITHUB_API_TOKEN` as a secret to your builds:

Drone secrets: readme.drone.io/usage/secret-guide/ NOTE: This is a new syntax in DroneCI 0.6+

“‘yml

build:
  image: golang
  secrets:
    - DANGER_GITHUB_API_TOKEN
  commands:
    - ...
    - bundle exec danger

“‘