Sha256: 453b0e10cc31c5c88442e077387cdb0295550832785c364c0c57b10a61eff519

Contents?: true

Size: 435 Bytes

Versions: 76

Compression:

Stored size: 435 Bytes

Contents

namespace :deploy do
  task :site => %w(site:upload rdoc:upload)
  
  desc 'Deploy on rubyforge'
  task :gem => %w(gem:upload_rubyforge deploy:site)
end
desc 'Deploy on all servers'
task :deploy => "deploy:gem"

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

Version data entries

76 entries across 76 versions & 4 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.7.4 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.7.3 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.7.2 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.7.1 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.7.0 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.9 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.8 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.7 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.6 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.5 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.4 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.3 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.2 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.1 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.6.0 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.5.17 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.5.16 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.5.15 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake
classiccms-0.5.14 vendor/bundle/gems/thin-1.3.1/tasks/deploy.rake