blur-admin/gulp/docs.js

14 lines
311 B
JavaScript

'use strict';
var gulp = require('gulp');
var $ = require('gulp-load-plugins')();
gulp.task('wintersmith-generate', $.shell.task([
'wintersmith build'
], { cwd: 'docs' }));
gulp.task('deploy-docs', ['wintersmith-generate'], function() {
return gulp.src('./docs/build/**/*')
.pipe($.ghPages());
});