From 63d748fc3c561375599605a45dc09c085c1f8aa9 Mon Sep 17 00:00:00 2001 From: imfly Date: Tue, 12 Jan 2016 21:47:03 +0800 Subject: [PATCH] fix gulpfile.js --- gulpfile.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index fd28aaf..d5fe5bd 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -124,11 +124,12 @@ gulp.task("html", ['clean'], function() { .pipe(gulp.dest(settings.destFolder)) }) +// The default task (called when you run `gulp` from cli) +gulp.task('default', ['watch', 'js', 'css', 'images', 'fonts', 'html']); + + //Deploy -gulp.task('deploy', function() { +gulp.task('deploy', ['default'], function() { return gulp.src('./dist/**/*') .pipe(ghPages()); }); - -// The default task (called when you run `gulp` from cli) -gulp.task('default', ['watch', 'js', 'css', 'images', 'fonts', 'html']);