run "ln -nfs /path/to/zf/library/Zend #{shared_path}/library/Zend" run "ln -nfs #{shared_path}/library #{release_path}/library" namespace :myproject do task :symlink, :roles => :app do ... end end after "deploy:symlink", "myproject:symlink"
#{shared_path}/vendor/ZendFramework/library" run "ln -nfs /path/to/ZendFramework-2.0.0beta3/library/Zend #{shared_path}/vendor/ ZendFramework/library/Zend" run "rm -rf #{release_path}/vendor" run "ln -nfs #{shared_path}/vendor #{release_path}/vendor" namespace :myproject do task :symlink, :roles => :app do ... end end after "deploy:symlink", "myproject:symlink"
end end after "deploy:symlink", "myproject:symlink", "myproject:uploads" application/configs/deploy.rb run "mkdir -p #{shared_path}/public/uploads" run "chmod -R 775 #{shared_path}/public/uploads" run "ln -nfs #{shared_path}/public/uploads #{release_path}/public/uploads"
> #{shared_path}/public/ maintenance.html" run "cp #{shared_path}/public/maintenance.html #{latest_release}/public/ maintenance.html" task :disable do ... end after "deploy:update_code", "myproject:disable"
irc or group chat # send SMS # activate SkyNet # order some Pizza end after "deploy:finalize_update", "myproject:unicornsandwizards" application/configs/deploy.rb