You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
I have this deploy config:
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!The text was updated successfully, but these errors were encountered: