Class: Capistrano::Deploy::Strategy::CapifonyCopyLocal

Inherits:
Copy
  • Object
show all
Defined in:
lib/capistrano/recipes/deploy/strategy/capifony_copy_local.rb

Instance Method Summary collapse

Instance Method Details

#deploy!Object

Deploy



11
12
13
14
15
16
17
18
19
20
21
# File 'lib/capistrano/recipes/deploy/strategy/capifony_copy_local.rb', line 11

def deploy!
  copy_cache ? run_copy_cache_strategy : run_copy_strategy
  create_revision_file
  $temp_destination = destination  # Make temp location avaliable globally.
  symfony.composer.install
  symfony.bootstrap.build
  compress_repository
  distribute!
ensure
  rollback_changes
end