Commit 49501938 authored by Alexey Avdeev's avatar Alexey Avdeev

chore: replace gulp-gh-pages with gh-pages

parent 11321d8c
......@@ -6,7 +6,7 @@ const replace = require('gulp-replace');
const rsync = require('gulp-rsync');
const sequence = require('run-sequence');
const zip = require('gulp-zip');
const pages = require('gulp-gh-pages');
const ghpages = require('gh-pages');
const browserSync = require('browser-sync').create();
gulp.task('prepare', () => {
......@@ -77,8 +77,7 @@ gulp.task('zip', () => {
});
gulp.task('upload', () => {
return gulp.src('prepared/**')
.pipe(pages())
return ghpages.publish('prepared')
});
gulp.task('archive', (callback) => {
......@@ -98,7 +97,7 @@ gulp.task('publish', (callback) => {
});
gulp.task('clean', () => {
return del('prepared/**');
return del('prepared/**')
});
gulp.task('serve', () => {
......
This diff is collapsed.
......@@ -34,8 +34,8 @@
"devDependencies": {
"browser-sync": "^2.18.12",
"del": "^3.0.0",
"gh-pages": "^1.1.0",
"gulp": "^3.9.1",
"gulp-gh-pages": "^0.5.4",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.6.1",
"gulp-rsync": "0.0.8",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment