Class: Capistrano::Deploy::Strategy::DrushMake
- Inherits:
-
RemoteCache
- Object
- RemoteCache
- Capistrano::Deploy::Strategy::DrushMake
- Defined in:
- lib/capistrano-drush-make.rb
Overview
Implements the deployment strategy that uses remote cache. Then calls drush make to deploy the drupal code to the final deployment location.
Instance Method Summary collapse
- #check! ⇒ Object
-
#deploy! ⇒ Object
Executes the SCM command for this strategy and writes the REVISION mark file to each host.
Instance Method Details
#check! ⇒ Object
18 19 20 21 22 23 |
# File 'lib/capistrano-drush-make.rb', line 18 def check! super.check do |d| d.remote.command("drush") d.remote.writable(shared_path) end end |
#deploy! ⇒ Object
Executes the SCM command for this strategy and writes the REVISION mark file to each host.
13 14 15 16 |
# File 'lib/capistrano-drush-make.rb', line 13 def deploy! update_repository_cache drush_make_repository_cache end |