Updated.
This commit is contained in:
parent
b27409fa3f
commit
5dd9666ca2
|
@ -113,6 +113,8 @@ namespace :exec_commands do
|
||||||
@command_i18n = @command_i18n.gsub("{{#{k}}}",@command_trans[k])
|
@command_i18n = @command_i18n.gsub("{{#{k}}}",@command_trans[k])
|
||||||
end
|
end
|
||||||
command = command.gsub("{{rails_env}}",rails_env)
|
command = command.gsub("{{rails_env}}",rails_env)
|
||||||
|
command = command.gsub("{{full_site_path}}",@site_construct.full_site_path)
|
||||||
|
command = command.gsub("{{site_name}}",@site_construct.site_name)
|
||||||
exec_ssh_command_by_sudo_and_see_output(ssh,"bash -l -c 'cd #{@site_construct.path}/#{@site_construct.site_name};#{command}'", update_flag)
|
exec_ssh_command_by_sudo_and_see_output(ssh,"bash -l -c 'cd #{@site_construct.path}/#{@site_construct.site_name};#{command}'", update_flag)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue