lib/airbrake/tasks/airbrake.cap in airbrake-4.1.0 vs lib/airbrake/tasks/airbrake.cap in airbrake-4.2.0
- old
+ new
@@ -4,10 +4,10 @@
- Run remotely so we use remote API keys, environment, etc.
DESC
task :deploy do
# update scm state to get the repository information
invoke "#{scm}:update"
- on roles(:app) do
+ on roles(:all) do
within release_path do
# XXX: Invoking deploy:set_rails_env would set :rails_env to proper
# value, but that would make us depend on capistrano-rails
with rails_env: fetch(:rails_env, fetch(:stage)) do
# Compose the command notify_command