Commit graph

26 commits

Author SHA1 Message Date
Ryan McGeary e854adb5a6 Fixed branch selection logic for git deploys
* Before, because the logic was revered (see
  c0e46393c6), a brand new deploy would
  result in assuming that the deploy branch existed when it actually
  did not. This would cause initial deploys to fail.
* This new logic is more concise, more readable, and still backwards
  compatible with ruby 1.8.
2013-05-30 10:25:03 -04:00
Tom Vaughan 41f33b69d2 Fix #23. use build_dir as specified in config.rb 2013-05-05 20:13:14 -04:00
Fabien Piuzzi c0e46393c6 Fixing deploy for ruby 1.8
.keep_if is not present in Ruby 1.8, using delete_if and reversing the test should be equivalent and more universal.
2013-03-01 18:07:33 +01:00
Tom Vaughan 8c6bbae53a Display help on config.rb when ftp method is not setup correctly. Update printf's. 2013-01-20 10:51:22 -03:00
Daniel Bayerlein fd926b183d [deploy_ftp] Add support for hidden files. 2013-01-13 19:41:58 +01:00
Benjamin Knofe 6b6f928e75 git: remove origin fetching, fixes #9 2013-01-02 22:38:24 +01:00
Tom Vaughan 95a796ab41 Merge pull request #8 from benben/git-deploy
Better git deployment.

 * Remove outdated git gem.
 * Support git remotes other than "origin".
 * Use "build" directory as tmp git repo.
2012-11-28 04:27:32 -08:00
Benjamin Knofe 327a41fd05 refactored the whole git deploy process, fixes #7 2012-11-28 11:17:24 +01:00
Tom Vaughan 2137e353f3 whoa! three deploy methods! sweet! exclamation points!!! 2012-11-13 20:33:13 -03:00
Benjamin Knofe 963971bb15 added ftp to error message 2012-11-08 16:53:45 +01:00
Benjamin Knofe 817ac132c0 added FTP deployment 2012-11-08 16:45:57 +01:00
Tom Vaughan 01eb463045 allow remotes other than "origin" in the git deploy method 2012-10-05 00:44:02 -03:00
Konstantin Gribov 62e6d4429f Added support for non-default (gh-pages) branch on github 2012-09-27 02:27:15 +04:00
Tom Vaughan 72fcf8c717 periods, periods, periods 2012-09-04 11:04:09 -07:00
Tom Vaughan a832143c87 misc clean-ups 2012-09-04 10:30:52 -07:00
Tom Vaughan 8694bb8fb2 rework how we get our extension options 2012-09-04 10:25:21 -07:00
Tom Vaughan fa123c1c70 as reported at: http://forum.middlemanapp.com/discussion/comment/177 2012-09-03 11:31:15 -07:00
Ben Cates bf8ce71a49 Update lib/middleman-deploy/commands.rb
Dumb fix
2012-08-30 00:58:44 -03:00
Ben Cates 4de34e8948 Added github pages support 2012-08-29 23:50:23 -04:00
Tom Vaughan bf914bb27a be explicit about what deploy means 2012-08-22 16:56:07 -07:00
Tom Vaughan c19f049a63 oops 2012-08-22 16:17:46 -07:00
Tom Vaughan bcba3abbdb add whitespace 2012-08-22 14:15:37 -07:00
Tom Vaughan f65564404c rename "delete" to "clean" (like middleman's build) and override on command-line (if provided) 2012-08-22 14:09:26 -07:00
Tom Vaughan c4290d9d29 less convoluted 2012-08-22 12:37:37 -07:00
Tom Vaughan 13ccf115ab this works as middleman deploy 2012-08-22 11:45:33 -07:00
Tom Vaughan 841192874a this needs to be checked-in so that gem install picks it up 2012-08-21 10:31:24 -07:00