Method: Heploy::Command::Deploy.production
- Defined in:
- lib/heploy/command/deploy.rb
.production(config, verbose) ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/heploy/command/deploy.rb', line 17 def production(config, verbose) print "Server you're deploying to: " input = STDIN.gets.chomp if config.production_app_name == input deploy_to config.production_app_name, config.staging_branch, config.production_branch, config, verbose else abandon_ship "That is not the correct server." end end |