I need to execute special task before connect to server by ssh, example:
task :init do
# get data from http request
set :my_data, "http response"
end
Can I set "before callback" for it in capistrano 3?
I need to execute special task before connect to server by ssh, example:
task :init do
# get data from http request
set :my_data, "http response"
end
Can I set "before callback" for it in capistrano 3?
I think this is impossible. Instead I created rake task - it send request, read response and call command: