Commit a7498f477c14f34144dd44b395eb32a1857d25c3
Changing deploy task
Rômulo Alves committed on 8/30/2016, 2:25:15 PMParent: 6901435d9e64c7242919ff36e6df1ae517d733b4
Files changed
gulpfile.js | changed |
gulpfile.js | ||
---|---|---|
@@ -4,8 +4,12 @@ | ||
4 | 4 | var usemin = require('gulp-usemin'); |
5 | 5 | var rev = require('gulp-rev'); |
6 | 6 | var ghPages = require('gulp-gh-pages'); |
7 | 7 | |
8 | +var ghPagesConfig = { | |
9 | + branch: 'master' | |
10 | +}; | |
11 | + | |
8 | 12 | gulp.task('build', function () { |
9 | 13 | return gulp.src('src/index.html') |
10 | 14 | .pipe(usemin({ |
11 | 15 | css: [ rev() ], |
@@ -21,5 +25,7 @@ | ||
21 | 25 | branch: 'master' |
22 | 26 | })); |
23 | 27 | }); |
24 | 28 | |
25 | -gulp.task('deploy', ['build', 'publish']); | |
29 | +gulp.task('deploy', ['build'], function () { | |
30 | + return gulp.start('publish'); | |
31 | +}); |
Built with git-ssb-web