Sha256: c16893de1a7dba597634fed05106baaf2146b82793de6aac01d79e88e6c9436c

Contents?: true

Size: 677 Bytes

Versions: 2

Compression:

Stored size: 677 Bytes

Contents

set :application, '<%= app_name %>'
set :repo_url,    'git@github.com:blueberryapps/<%= app_name %>.git'
set :branch,      'master'
set :scm,         :git

set :format, :pretty
set :log_level, :debug

set :linked_files, %w(config/database.yml)
# set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}

set :rbenv_type, :system
set :rbenv_ruby, `git show #{fetch(:branch)}:.ruby-version`

set :keep_releases, 5

namespace :deploy do

  desc 'Restart application'
  task :restart do
    on roles(:app), in: :sequence, wait: 5 do
      execute :touch, release_path.join('tmp/restart.txt')
    end
  end

  after :finishing, 'deploy:cleanup'

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blueberry_rails-0.2.1 templates/deploy.rb.erb
blueberry_rails-0.2.0 templates/deploy.rb.erb