Skip to content

Conversation

@pkordel
Copy link

@pkordel pkordel commented Jul 1, 2016

Addresses issue #86

system("rsync -a --del -L -K -vv --progress --rsh='ssh -p #{port}' ./#{dir} #{user}@#{server}:#{cap.current_path}/#{cap.fetch(:local_assets_dir)}")
raise "server with role app is undefined" if server.nil?
Array(cap.fetch(:assets_dir)).each do |dir|
system("rsync -a --del -L -K -vv --progress --rsh='ssh -p #{port}' ./#{dir} #{user}@#{server}:#{cap.current_path}/#{Array(cap.fetch(:local_assets_dir)).join}")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it generates directories with comma (,) separator after slash (/)?

end

def user
server.netssh_options[:user]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants