Sha256: 1b1f37428eb192af56a601a230f9e65c21b78b766485ec60df190ce5fc27f359
Contents?: true
Size: 591 Bytes
Versions: 8
Compression:
Stored size: 591 Bytes
Contents
Capistrano::Configuration.instance.load do desc "Setup the application" task :setup do; end [:start, :stop, :restart, :status].each do |command| desc "#{command.to_s.capitalize} services" task command do; end end namespace :deploy do desc "Perform a simple deployment" task :default do update_code web.restart end desc "Perform a full deploy with database migrations" task :full do top.stop update_code upgrade_database top.start end task :update_code do; end task :upgrade_database do; end end end
Version data entries
8 entries across 8 versions & 1 rubygems