Class: Dandelion::Deployment::FullDeployment
- Inherits:
-
Deployment
- Object
- Deployment
- Dandelion::Deployment::FullDeployment
- Defined in:
- lib/dandelion/deployment.rb
Instance Method Summary collapse
Methods inherited from Deployment
create, #initialize, #local_revision, #log, #remote_revision, #validate, #write_revision
Constructor Details
This class inherits a constructor from Dandelion::Deployment::Deployment
Instance Method Details
#deploy ⇒ Object
134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/dandelion/deployment.rb', line 134 def deploy @tree.files.each do |file| if exclude_file?(file) log.info("Skipping file: #{file}") else log.info("Uploading file: #{file}") @backend.write(file, @tree.show(file)) end end write_revision end |