Class: Tomo::Plugin::Honeybadger::Tasks
- Inherits:
-
TaskLibrary
- Object
- TaskLibrary
- Tomo::Plugin::Honeybadger::Tasks
- Defined in:
- lib/tomo/plugin/honeybadger/tasks.rb
Instance Method Summary collapse
-
#deploy ⇒ Object
Update Honeybadger about the new deployment.
Instance Method Details
#deploy ⇒ Object
Update Honeybadger about the new deployment
4 5 6 7 8 9 10 11 |
# File 'lib/tomo/plugin/honeybadger/tasks.rb', line 4 def deploy remote.chdir(paths.current) do deployer = `whoami`.strip revision = `git rev-parse HEAD`.strip remote.run("bundle", "exec", "honeybadger", "deploy", "-r", settings[:git_url], "-s", revision, "-u", deployer) end end |