Skip to content

Commit

Permalink
Updated doc script to push changes to gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Aug 30, 2015
1 parent 3dcd9c8 commit 47213a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/doc.js
Expand Up @@ -17,7 +17,7 @@ gulp.task('doc-submodule', function(cb) {

gulp.task('doc-commit', function(cb) {
git.exec({ args: 'diff-files', quiet: true, cwd: 'doc' }, function(err, stdout) {
if(err && err.code === 1) runSequence('doc-commit-changes', 'doc-commit-newdocs', cb);
if(err && err.code === 1) runSequence('doc-commit-changes', 'doc-commit-newdocs', 'doc-push', cb);
else cb();
});
});
Expand Down

0 comments on commit 47213a9

Please sign in to comment.