Commit graph

51 commits

Author SHA1 Message Date
Tom Vaughan
3b9b8093d3 Rename to build_before and add corresponding command-line option. 2013-06-11 00:42:12 -04:00
Tom Vaughan
8c9b79688a Remove the after_build option. This never made much sense. 2013-06-11 00:14:34 -04:00
Tom Vaughan
264f1082b2 Merge pull request #24 from jm3/force-build
(optionally) force a build before any deploy
2013-06-10 21:03:06 -07:00
tobiaswerner
a1ae241553 Added SFTP deployment 2013-06-08 22:46:43 +02:00
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
John Manoogian III
92e7724a1a (optionally) force a build before any deploy 2013-05-06 16:39:19 -07:00
Tom Vaughan
5931dfc748 bump 2013-05-05 20:14:12 -04:00
Tom Vaughan
41f33b69d2 Fix #23. use build_dir as specified in config.rb 2013-05-05 20:13:14 -04:00
Tom Vaughan
46286a2729 bump 2013-03-15 22:57:41 -03: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
7f2b18b2de bump 2013-01-20 10:56:03 -03: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
Tom Vaughan
73258f3c5c bump 2013-01-05 13:43:18 -03:00
Benjamin Knofe
6b6f928e75 git: remove origin fetching, fixes #9 2013-01-02 22:38:24 +01:00
Tom Vaughan
1877938c8a bump 2012-12-01 20:52:53 -03: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
d4ae8de561 bump 2012-11-13 20:33:45 -03: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
2b33d3d409 call deploy via middleman's built-in after_build hook
TODO: pass "--clean" or "--no-clean" to deploy as passed to build
2012-10-31 17:49:30 -03:00
Tom Vaughan
aa59736914 bump 2012-10-05 00:44:18 -03:00
Tom Vaughan
01eb463045 allow remotes other than "origin" in the git deploy method 2012-10-05 00:44:02 -03:00
Tom Vaughan
82a4915250 Update lib/middleman-deploy/extension.rb
clean-up whitespace
2012-09-26 15:46:21 -07: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
be45c22d0d bump 2012-09-04 10:31:25 -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
ca961309bc Update lib/middleman-deploy/pkg-info.rb
Bumped the version number
2012-08-30 00:56:26 -03:00
Ben Cates
4de34e8948 Added github pages support 2012-08-29 23:50:23 -04:00
Tom Vaughan
c074f8d907 bump 2012-08-22 17:06:28 -07:00
Tom Vaughan
bf914bb27a be explicit about what deploy means 2012-08-22 16:56:07 -07:00
Tom Vaughan
ea727b6e93 bump 2012-08-22 16:17:53 -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
f03d90ce8c oops 2012-08-22 10:04:11 -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
Tom Vaughan
ce4aa1d333 run rsync command as a post-build step (works) 2012-08-20 15:10:40 -07:00
Tom Vaughan
35c088912f these appear to be obsolete 2012-08-20 14:37:04 -07:00
Tom Vaughan
8b62a0a873 inspired by: https://github.com/middleman/middleman-blog/blob/master/lib/middleman-blog/extension.rb 2012-08-20 14:24:17 -07:00
Tom Vaughan
cd12783e69 update namespace 2012-08-20 12:59:32 -07:00
Tom Vaughan
10a7c6084a build and install a local gem 2012-08-20 10:52:29 -07:00