Sha256: 75d0eeb4bdb80c5bacf615dd06b008fb2cf70dcd4db5cd6d9b50848258c1a444

Contents?: true

Size: 535 Bytes

Versions: 18

Compression:

Stored size: 535 Bytes

Contents

namespace :deploy do
  task :site => %w(site:upload rdoc:upload)
  
  desc 'Deploy on code.macournoyer.com'
  task :alpha => %w(gem:upload deploy:site)
  
  desc 'Deploy on rubyforge'
  task :public => %w(gem:upload_rubyforge deploy:site)  
end
desc 'Deploy on all servers'
task :deploy => %w(deploy:alpha deploy:public)

def upload(file, to, options={})
  sh %{ssh macournoyer@macournoyer.com "rm -rf code.macournoyer.com/#{to}"} if options[:replace]
  sh %{scp -rq #{file} macournoyer@macournoyer.com:code.macournoyer.com/#{to}}
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
grockit-thin-0.8.2 tasks/deploy.rake
thin-0.6.0-x86-mswin32-60 tasks/deploy.rake
thin-0.6.4-x86-mswin32-60 tasks/deploy.rake
thin-0.6.3 tasks/deploy.rake
thin-0.7.0-x86-mswin32-60 tasks/deploy.rake
thin-0.6.4 tasks/deploy.rake
thin-0.6.3-x86-mswin32-60 tasks/deploy.rake
thin-0.6.1 tasks/deploy.rake
thin-0.6.2 tasks/deploy.rake
thin-0.6.1-x86-mswin32-60 tasks/deploy.rake
thin-0.6.0 tasks/deploy.rake
thin-0.6.2-x86-mswin32-60 tasks/deploy.rake
thin-0.8.0 tasks/deploy.rake
thin-0.8.1 tasks/deploy.rake
thin-0.7.1 tasks/deploy.rake
thin-0.7.1-x86-mswin32-60 tasks/deploy.rake
thin-0.7.0 tasks/deploy.rake
thin-0.8.2 tasks/deploy.rake