Commit graph

97 commits

Author SHA1 Message Date
Pete Nicholls 4b79845d53 Fix Git user.email change in force push strategy 2015-01-18 14:51:25 +13:00
Karl Freeman 7360fcadc4 1.0 2014-11-21 17:26:59 +00:00
Karl Freeman bd5e214614 Merge pull request #70 from Gee-Bee/git-user-details
Respect user details of git repo.
2014-11-21 17:08:03 +00:00
Mark Connell 79d86af7be Prevent bad commits deploying.
In the event of a fatal error occuring when trying to add content to
git for commit, you end up pushing a blank commit to the git respository.
This is a change which halts the push to a git repository so you don't
accidentally take down your website.
2014-09-04 11:25:57 +01:00
Karl Freeman 70863dc312 bump 2014-08-14 11:34:48 +01:00
Karl Freeman 6e7ce4d72d Merge branch 'cleanup/major'
Conflicts:
	README.md
2014-08-14 11:32:14 +01:00
Karl Freeman e14f90fe1d cleanup 2014-08-14 11:18:58 +01:00
Larry Staton Jr. 2aba441a30 Update sftp.rb
Fix ArgumentError on exception. Line 55 had 2 arguments, but the `handle_exception` method in line 30 only required 1 argument.
2014-07-20 18:11:30 -04:00
Gee-Bee bfe6473000 Fix comment. 2014-07-18 09:35:27 +02:00
Gee-Bee 4f9d4879d7 Respect user details of git repo.
Branch with compiled pages respects repo's user details settings.
2014-07-16 10:56:58 +02:00
Tom Vaughan 71c4e6339b Bump. 2014-05-25 02:07:26 -04:00
Nihad Abbasov efd66e7fca add ability to set custom commit message for git deploys
issue #64
2014-05-24 23:35:14 +05:00
Tom Vaughan 6c426c0ef3 bump 2014-02-26 08:39:50 -03:00
Andrew Lum da58498102 Update rsync.rb 2014-02-26 19:04:08 +08:00
Tom Vaughan d494a4faf7 bump 2014-02-23 19:00:00 -03:00
Martin Wessely 774e656cfa Upload all files as binary to prevent corrupt images 2014-02-23 22:07:30 +01:00
Tom Vaughan 8226bba8b3 bump 2014-02-23 13:52:02 -03:00
Richard Huang 0bd94419ea add port reader for ftp method 2014-02-24 00:44:11 +08:00
Tom Vaughan e89b403ad8 bump 2014-02-23 11:36:02 -03:00
Tom Vaughan 865b98f1c0 Ensure -e ssh ... is always passed to rsync. Fixes #54 2014-02-23 11:27:50 -03:00
WhiteTrefoil 08875eebec Supporting port config of SFTP 2014-01-18 21:55:50 +08:00
Cecile Veneziani 11860dd930 Refactoring
- Create a class per method
- Create a class per git strategy
- Extract USAGE into a file
- Refactor git and ftp/sftp methods
2014-01-16 16:52:52 +01:00
Cecile Veneziani 23c6b8c1f6 Add strategy option to git method
- Set force push as default strategy (avoid breaking change)
- Add submodule strategy
2013-11-30 21:28:35 +01:00
Tom Vaughan b0f7cde56a bump 2013-11-23 17:17:25 -03:00
Tom Vaughan 26f2e43a52 Add new rsync flags option to error message. 2013-11-19 20:36:02 -03:00
Jason Semko 5b1723ab34 adding a flags option to override default rsync flags 2013-11-18 17:42:55 -08:00
Sebastian Daniel 36785eb98f fix for quotes not woking when comitting on a windows machine. + comment since change didn't show up on github 2013-10-01 20:14:23 +02:00
Sebastian Daniel 273174f427 fix for quotes not woking when comitting on a windows machine. 2013-10-01 19:43:02 +02:00
Tom Vaughan d845e9f42d Bump. 2013-09-21 12:33:45 -03:00
Tom Vaughan 268ddb1a14 Add username and password are optional to sftp docs. 2013-09-21 12:06:25 -03:00
Tom Vaughan 2f8d236ee4 Make username optional for sftp deployment. Like rsync. 2013-09-21 12:05:56 -03:00
Martin Schürrer 6eed387731 Make password optional for sftp deployment
Some people use public key authentication
2013-09-12 20:33:06 +02:00
Tom Vaughan 336fcd3c0e Catch specific exception. Fixes #38 (I think). 2013-08-24 11:16:22 -04:00
Tom Vaughan a738143f3e bump 2013-08-08 19:46:10 -04:00
Tom Vaughan c9d44ba5e7 Comment and separate default options. 2013-08-08 19:44:03 -04:00
Tom Vaughan 6cb77153d4 Add port to list of possible options. 2013-08-08 19:41:46 -04:00
Tom Vaughan d749a99fbe Let user be optional in the rsync method. 2013-08-08 19:39:10 -04:00
Ryan McGeary 81fd3ad4c5 Removed use of global constants (VERSION and PACKAGE)
Fixes #33
2013-08-03 18:06:38 -04:00
Tom Vaughan a5d8d9c4f3 bump 2013-07-29 19:58:39 -04:00
Tom Vaughan e1c44aa9d3 Call middleman build to work-around a problem in middleman. 2013-07-23 21:43:15 -04:00
Tom Vaughan 9c925ff0e5 some ftp/sftp related clean-ups 2013-07-16 22:25:06 -04:00
Tom Vaughan c0a974d6a0 bump 2013-07-16 22:08:33 -04:00
Tom Vaughan 8cb0500c0d remove the --clean command-line option 2013-07-16 21:53:11 -04:00
Tom Vaughan 62248cb099 update tagline and ensure required settings are provided for sftp 2013-07-16 21:43:00 -04:00
Tom Vaughan 757272d6af whitespace clean-up 2013-07-16 21:40:33 -04:00
Tom Vaughan f0a60edf29 work-around a problem with running build in an extension 2013-07-16 21:24:45 -04:00
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