Class | Capistrano::Deploy::Strategy::Base |
In: |
lib/capistrano/recipes/deploy/strategy/base.rb
|
Parent: | Object |
This class defines the abstract interface for all Capistrano deployment strategies. Subclasses must implement at least the deploy! method.
configuration | [R] |
Performs a check on the remote hosts to determine whether everything is setup such that a deploy could succeed.
Executes the necessary commands to deploy the revision of the source code identified by the revision variable. Additionally, this should write the value of the revision variable to a file called REVISION, in the base of the deployed revision. This file is used by other tasks, to perform diffs and such.