// deploy is a wrapper around the run commnad to make running the deploy commands // in a separate go routine more convenient. func deploy(job *database.Job, repository *database.Repository) { notification.Notify(job, notification.EventDeployStart) run(job, repository, database.CommandKindDeploy) job.DeployDone() notification.Notify(job, notification.EventDeployEnd) }