whitespace clean-up
This commit is contained in:
parent
f0a60edf29
commit
757272d6af
1 changed files with 3 additions and 3 deletions
|
@ -237,14 +237,14 @@ EOF
|
||||||
def deploy_sftp
|
def deploy_sftp
|
||||||
require 'net/sftp'
|
require 'net/sftp'
|
||||||
require 'ptools'
|
require 'ptools'
|
||||||
|
|
||||||
host = self.deploy_options.host
|
host = self.deploy_options.host
|
||||||
user = self.deploy_options.user
|
user = self.deploy_options.user
|
||||||
pass = self.deploy_options.password
|
pass = self.deploy_options.password
|
||||||
path = self.deploy_options.path
|
path = self.deploy_options.path
|
||||||
|
|
||||||
puts "## Deploying via sftp to #{user}@#{host}:#{path}"
|
puts "## Deploying via sftp to #{user}@#{host}:#{path}"
|
||||||
|
|
||||||
Net::SFTP.start(host, user, :password => pass) do |sftp|
|
Net::SFTP.start(host, user, :password => pass) do |sftp|
|
||||||
sftp.mkdir(path)
|
sftp.mkdir(path)
|
||||||
Dir.chdir(self.inst.build_dir) do
|
Dir.chdir(self.inst.build_dir) do
|
||||||
|
|
Loading…
Reference in a new issue