code: function DoDeploy(payload) {
      self.deploy(payload.repo, function(err) {
        if (err) {
          return self.io.emit('deploy.error', payload);
        }
        self.io.emit('deploy.complete', payload);
      });
    }
docs: /*
  The deploy event contains:
  payload
  .id - the deploy id
  .repo - the full repository string