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'); ...@@ -6,7 +6,7 @@ const replace = require('gulp-replace');
const rsync = require('gulp-rsync'); const rsync = require('gulp-rsync');
const sequence = require('run-sequence'); const sequence = require('run-sequence');
const zip = require('gulp-zip'); const zip = require('gulp-zip');
const pages = require('gulp-gh-pages'); const pages = require('gh-pages');
const browserSync = require('browser-sync').create(); const browserSync = require('browser-sync').create();
gulp.task('prepare', () => { gulp.task('prepare', () => {
...@@ -77,8 +77,7 @@ gulp.task('zip', () => { ...@@ -77,8 +77,7 @@ gulp.task('zip', () => {
}); });
gulp.task('upload', () => { gulp.task('upload', () => {
return gulp.src('prepared/**') return pages.publish('prepared')
.pipe(pages())
}); });
gulp.task('archive', (callback) => { gulp.task('archive', (callback) => {
......
This diff is collapsed.
...@@ -34,8 +34,8 @@ ...@@ -34,8 +34,8 @@
"devDependencies": { "devDependencies": {
"browser-sync": "^2.18.12", "browser-sync": "^2.18.12",
"del": "^3.0.0", "del": "^3.0.0",
"gh-pages": "^1.1.0",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-gh-pages": "^0.5.4",
"gulp-rename": "^1.2.2", "gulp-rename": "^1.2.2",
"gulp-replace": "^0.6.1", "gulp-replace": "^0.6.1",
"gulp-rsync": "0.0.8", "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