Sha256: 6144689ef975770e6c7e647c06294d8c5c87a8dafc098c799c9ef0770cea6f95
Contents?: true
Size: 437 Bytes
Versions: 5
Compression:
Stored size: 437 Bytes
Contents
# $Id$ require 'rake/contrib/sshpublisher' namespace :deploy do desc 'deploy to the server using rsync' task :rsync do cmd = "rsync #{SITE.rsync_args.join(' ')} " cmd << "#{SITE.output_dir}/ #{SITE.host}:#{SITE.remote_dir}" sh cmd end desc 'deploy to the server using ssh' task 'ssh' do Rake::SshDirPublisher.new( SITE.host, SITE.remote_dir, SITE.output_dir ).upload end end # deploy # EOF
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
webby-0.7.0 | data/tasks/deploy.rake |
webby-0.7.1 | data/tasks/deploy.rake |
webby-0.7.3 | data/tasks/deploy.rake |
webby-0.7.4 | data/tasks/deploy.rake |
webby-0.7.2 | data/tasks/deploy.rake |