lib/dogids/deploy/web.rb in dogids-cli-0.0.7 vs lib/dogids/deploy/web.rb in dogids-cli-0.0.8
- old
+ new
@@ -3,24 +3,24 @@
module Dogids
class Cli < Thor
no_commands do
def deploy_web
- print_heading("Deploying dogids.com...")
+ print_heading("Deploying dogids.com")
Net::SSH.start("web1.dogids.codelation.net", "dogids") do |ssh|
- print_command("Checking the current git status...")
+ print_command("Checking the current git status")
ssh.exec!(web_git_status_command) do |_channel, _stream, data|
print_command(data)
end
if yes?("-----> Continue with deployment? [no]")
- print_command("Pulling latest from master...")
+ print_command("Pulling latest from master")
ssh.exec!(web_git_pull_command) do |_channel, _stream, data|
print_command(data)
end
- print_command("Updating file permissions...")
+ print_command("Updating file permissions")
ssh.exec!(web_update_permissions_command) do |_channel, _stream, data|
print_command(data)
end
end
end