Skip to content

Commit

Permalink
added release:push:docs task
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Apr 28, 2016
1 parent 326816f commit 04cbd1d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ gulp.task('release:push', function(callback) {
message: 'cannot push release as it has not yet been committed'
});
} else {
sequence('tag', 'release:push:git', 'release:push:github', 'release:push:npm', callback);
sequence('tag', 'release:push:git', 'release:push:github', 'release:push:npm', 'release:push:docs', callback);
}
});
});
Expand All @@ -82,6 +82,10 @@ gulp.task('release:push:npm', function(callback) {
shell('npm publish', callback);
});

gulp.task('release:push:docs', function(callback) {
shell('../deploy-docs.sh', callback);
});

gulp.task('build:dev', function() {
return build(extend(extend({}, pkg), { version: 'dev' }));
});
Expand Down

0 comments on commit 04cbd1d

Please sign in to comment.