Sha256: 39805aedd6c33755b2315909da9a2423aa2ce09958b104e65f9fc0d387e58f28

Contents?: true

Size: 747 Bytes

Versions: 4

Compression:

Stored size: 747 Bytes

Contents

set :ubistrano, {
  :application => :sum_beta,
  :platform    => :sinatra,  # :php, :rails, :sinatra
  :repository  => 'git@github.com:winton/sum.git',
  
  :ec2 => {
    :access_key => '',
    :secret_key => ''
  },
  
  :mysql => {
    :root_password => '',
    :app_password  => ''
  },
  
  :production => {
    :domains => [ 'beta.sumapp.com' ],
    :host    => '174.129.231.24'
  },
  
  :staging => {
    :domains => [ 'staging.beta.sumapp.com' ],
    :host    => '174.129.231.24'
  }
}

require 'ubistrano'

after "deploy:update_code", "deploy:update_crontab"

namespace :deploy do
  desc "Update the crontab file"
  task :update_crontab, :roles => :web do
    run "cd #{release_path} && whenever --update-crontab #{application}"
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
winton-sum-0.1.0 config/deploy.example.rb
winton-sum-0.1.1 config/deploy.example.rb
sum-0.1.2 config/deploy.example.rb
sum-0.1.1 config/deploy.example.rb