Sha256: 022341b01be5fffbb25074b1654fa55fe8a1a57ad03bc80043603e6c73fbed4a
Contents?: true
Size: 929 Bytes
Versions: 25
Compression:
Stored size: 929 Bytes
Contents
# Deploy this gem to the gem server. # # Usage for a gem already on the gem server: # # cap deploy # # For a new gem: # # cap deploy:new # Global Variables ================================================================================= default_run_options[:pty] = true role :app, 'jose.seologic.com' set :deploy_to, '/home/containers/rails/system/blog_logic' set :repository, 'git@github.com:ivanoblomov/blog_logic.git' set :scm, :git set :use_sudo, false set :user, 'cnewton' namespace :deploy do desc "Clone a new gem's repository on the gem server." task :new do run "git clone -q #{repository} #{deploy_to}" end task :install do run "cd #{deploy_to}; rm -f Gemfile.lock; sudo bundle; sudo rake install" end # disable default behavior task :restart do end task :update do run "cd #{deploy_to}; git pull" end end after 'deploy', 'deploy:install' after 'deploy:new', 'deploy:install'
Version data entries
25 entries across 25 versions & 1 rubygems