Fix deploy options. Refs #2261
This commit is contained in:
parent
04a17cb691
commit
18b9f7c51e
|
@ -13,6 +13,7 @@ require 'capistrano/ext/multistage'
|
|||
|
||||
# main details
|
||||
ssh_options[:forward_agent] = true
|
||||
default_run_options[:pty] = true
|
||||
|
||||
set :application, "rosa_build"
|
||||
set :deploy_to, "/srv/#{application}"
|
||||
|
|
|
@ -44,7 +44,7 @@ server {
|
|||
# puts config
|
||||
puts "Write nginx config to #{nginx_config_path}"
|
||||
put config, '/tmp/nginx.conf'
|
||||
sudo "mv /tmp/nginx.conf #{nginx_config_path}", :pty => true
|
||||
sudo "mv /tmp/nginx.conf #{nginx_config_path}"
|
||||
end
|
||||
|
||||
desc "Start nginx web server"
|
||||
|
|
Loading…
Reference in New Issue