Unverified Commit 670e4801 authored by Vadim Makeev's avatar Vadim Makeev Committed by GitHub

Merge pull request #320 from avdeev/master

chore: replace gulp-gh-pages with gh-pages
parents 38b7c485 8dedfcaa
......@@ -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 pages = 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 pages.publish('prepared')
});
gulp.task('archive', (callback) => {
......
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