lib/jekyll-ftp/deploy.rb in jekyll-ftp-0.1.0 vs lib/jekyll-ftp/deploy.rb in jekyll-ftp-0.1.1
- old
+ new
@@ -39,12 +39,14 @@
say " Username: ".blue + username
say "Remote Directory: ".blue + remote_dir
# Error handling over...
# Now deploy!
+ say "Logging in...".yellow
ftp = Net::FTP.new(server)
ftp.login(username, password)
ftp.chdir(remote_dir)
+ say "Logged in!".green
say "\nDeploying...".yellow unless deploy_now == false
# Delete old files.
if File.directory?("_site")
Jekyll_FTP::SubCommand.clean(ftp)
\ No newline at end of file