Commit graph

27 commits

Author SHA1 Message Date
Jan-Felix
47e5e5c376 fixed a potential bug in the git commit diffing when there is a file named HEAD 2017-04-05 15:04:06 +02:00
Jan-Felix
9f165c208b fixed a comment 2017-04-04 17:43:51 +02:00
Jan-Felix
53d69c7200 fixed linting errors 2017-04-04 17:42:06 +02:00
Jan-Felix
a2dbd3f1b9 finished up the publish branch to subfolder feature 2017-04-04 17:07:54 +02:00
Jan-Felix
e0dd4eaa54 added option to retrieve current branch name
and use it as the subfolder name for the destination
2017-04-04 16:37:20 +02:00
Jan-Felix
fde7245554 integrated changes from lelandmiller:base-dir 2017-04-04 15:53:54 +02:00
Tim Schaub
49e48a457a Unindent 2016-11-16 18:10:37 -07:00
Tim Schaub
e82e1b3fdb Use rimraf for cleaning 2016-04-24 12:46:25 -06:00
Marco Castelluccio
dfbdfe08f3 Clone using options.remote as the origin name 2016-03-02 08:29:20 -07:00
Marco Castelluccio
1188782205 Print correct error message when remote != 'origin' 2016-03-02 08:28:49 -07:00
Marco Castelluccio
c042fc444a Don't assume options.remote is 'origin' 2016-03-02 08:28:49 -07:00
Tim Schaub
c02cecaf76 Allow an array of src patterns to be provided 2016-02-24 08:35:06 -07:00
Tim Schaub
ab7291a60c Rework callback error handling 2015-12-08 09:20:08 -07:00
Anton Wilhelm
9a9659027a use simple truthy check 2015-12-07 23:25:20 +01:00
Anton Wilhelm
663f5c7cdf fix check for error argument 2015-12-07 17:52:32 +01:00
Anton Wilhelm
b6eb464991 better error handling, fix #20
- provide error handling for callback
- provide default error handling if no callback is passed
2015-12-07 13:38:16 +01:00
Tim Schaub
33849acadf Remove dependency on lodash 2015-12-02 07:51:09 -08:00
Tim Schaub
5283fd346b Updated linter 2015-12-02 07:13:55 -08:00
Mark Dalgleish
ab5a1bef78 Make options parameter optional
This allows the module to be used like so:
ghpages.deploy(basePath, callback)
2014-06-26 09:31:46 +10:00
Mark Dalgleish
f610cf7348 Explicitly require base path as first parameter 2014-06-26 07:25:47 +10:00
Tim Schaub
f39a37eeff Merge pull request #7 from markdalgleish/remove-grunt
Use glob and fs instead of Grunt, fixes #2.
2014-06-25 10:25:14 -04:00
Mark Dalgleish
b190a605bb Use glob and fs instead of Grunt, fixes #2 2014-06-25 07:20:42 +10:00
Mark Dalgleish
7834240b67 Move cache to install directory, fixes #4 2014-06-24 08:28:52 +10:00
Tim Schaub
969862624b More generic doc 2014-05-30 06:20:07 -06:00
Tim Schaub
9f845da8e4 Doc blocks 2014-05-30 06:15:13 -06:00
Mark Dalgleish
63dd7b5bc1 Extract publish task logic from grunt-gh-pages
+ lint fix for git.js
2014-05-16 16:17:04 +10:00
Tim Schaub
47038707ba Setup 2014-03-18 16:30:44 -06:00