Sha256: a5694c1e95812b07590272d136b26dff7487b088840438ed428a3f63f449684c
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
namespace :deploy do desc 'Start a deployment, make sure server(s) ready.' task :starting do end desc 'Started' task :started do end desc 'Update server(s) by setting up a new release.' task :updating do end desc 'Updated' task :updated do end desc 'Revert server(s) to previous release.' task :reverting do end desc 'Reverted' task :reverted do end desc 'Publish the release.' task :publishing do end desc 'Published' task :published do end desc 'Finish the deployment, clean up server(s).' task :finishing do end desc 'Finish the rollback, clean up server(s).' task :finishing_rollback do end desc 'Finished' task :finished do end before :starting, :ensure_stage desc 'Rollback to previous release.' task :rollback do %w{ starting started reverting reverted publishing published finishing_rollback finished }.each do |task| invoke "deploy:#{task}" end end end desc 'Deploy a new release.' task :deploy do %w{ starting started updating updated publishing published finishing finished }.each do |task| invoke "deploy:#{task}" end end task default: :deploy
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-3.0.0.pre14 | lib/capistrano/tasks/framework.rake |