-
Notifications
You must be signed in to change notification settings - Fork 7
Notify is sent before deploy itself #7
Copy link
Copy link
Open
Description
I have this deploy config:
require 'mina/bundler'
require 'mina/rails'
require 'mina/git'
require 'mina/rvm'
require 'mina/rollbar'
set :shared_dirs, fetch(:shared_dirs, []).push("public/uploads").push("log")
set :current_path, 'public_ruby'
set :term_mode, nil
set :rollbar_access_token, 'TOKEN'
task :remote_environment do
invoke :'rvm:use', '2.5.0'
end
# staging and production data
task :deploy do
deploy do
invoke :'git:clone'
invoke :'deploy:link_shared_paths'
invoke :'bundle:install'
invoke :'rails:assets_precompile'
invoke :'deploy:cleanup'
on :launch do
invoke :restart
invoke :'rollbar:notify'
end
end
end
The problem is we are getting slack notify immediately after deploy start (Before even git:clone starts). No matter if deploy failed or succeeded. It's super odd. Have you any ideas or tips how to approach to this?
Versions:
mina: 1.2.3
mina-rollbar: 1.0.1
@edit: Notification get sent even if i run simulation deploy with -s flag!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels