Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (6 sloc) 0.246 kb
task :publish do
server = 'ack'
remote_directory = '/var/www/ruby-encoding/public'
sh "ssh #{server} mkdir -p #{remote_directory}"
sh "rsync -av #{File.expand_path('../', __FILE__)}/public/ #{server}:#{remote_directory}/"
end
Jump to Line
Something went wrong with that request. Please try again.