diff --git a/config/deploy/test.rb b/config/deploy/test.rb index 6defbe3..0d937ab 100644 --- a/config/deploy/test.rb +++ b/config/deploy/test.rb @@ -1,5 +1,10 @@ set :rails_env, :production server 'webdns4.test.grnet.gr', user: 'deployer', roles: %w(web app db) set :ssh_options, forward_agent: false, port: 29 + +#Override rm and ln commands with sudo, for use with jenkins deployer +SSHKit.config.command_map[:rm] = 'sudo rm' +SSHKit.config.command_map[:ln] = 'sudo ln' +