code: func newDeployer(e *empire.Empire, options Options) github.Deployer {
  	ed := github.NewEmpireDeployer(e)
  	ed.ImageBuilder = options.GitHub.Deployments.ImageBuilder
  
  	var d github.Deployer = ed
  
  	// Enables the Tugboat integration, which will send logs to a Tugboat
  	// instance.
  	if url := options.GitHub.Deployments.TugboatURL; url != "" {
  		d = github.NotifyTugboat(d, url)
  	}
  
  	// Perform the deployment within a go routine so we don't timeout
  	// githubs webhook requests.
  	d = github.DeployAsync(d)
  
  	return d
  }
docs: // newDeployer generates a new github.Deployer implementation for the given
  // options.