Rename ghpages to pages

This commit is contained in:
Vadim Makeev 2018-05-21 17:22:42 +03:00 committed by GitHub
parent fbf4d2ea5b
commit 8dedfcaa79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 ghpages = require('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,7 +77,7 @@ gulp.task('zip', () => {
}); });
gulp.task('upload', () => { gulp.task('upload', () => {
return ghpages.publish('prepared') return pages.publish('prepared')
}); });
gulp.task('archive', (callback) => { gulp.task('archive', (callback) => {