Permalink
Browse files

Made deployment a bit easier.

  • Loading branch information...
1 parent 1c6d326 commit b29151a2cdc7471ce23f562fba1ed30ba734cee1 @nirvdrum committed Sep 13, 2009
Showing with 1 addition and 4 deletions.
  1. +1 −4 Rakefile
View
5 Rakefile
@@ -6,10 +6,7 @@ task :deploy do
branch = "master"
- username = ask("Username: ") { |q| q.echo = true }
- password = ask("Password: ") { |q| q.echo = "*" }
-
- Net::SSH.start('nirvdrum.com', username, :port => 22, :password => password) do |ssh|
+ Net::SSH.start('nirvdrum.com', 'nirvdrum', :port => 22) do |ssh|
commands = <<EOF
cd /var/www/nirvdrum.com/cached-copy
git checkout #{branch}

0 comments on commit b29151a

Please sign in to comment.