Closed light-flight closed 6 years ago
const ghPages = require('gulp-gh-pages')
const gulp = require('gulp')
const os = require('os')
const path = require('path')
const ghPagesTask = function() {
const pkg = require(path.resolve(process.env.PWD, 'package.json'))
const settings = {
src: path.resolve(process.env.PWD, PATH_CONFIG.finalDest, '**/*')
}
return gulp.src(settings.src)
.pipe(ghPages(TASK_CONFIG.ghPages))
}
gulp.task('gh-pages', ['build'], ghPagesTask) // <--- Should be "ghPages"
module.exports = ghPagesTask
One more vote for yarn run blendid -- gh-pages
. ghPages
does not work. Might need to simply change README.
yep, looks like the command was incorrect in the docs. updated now: https://github.com/vigetlabs/blendid/wiki/Commands
yarn run blendid -- gh-pages
still works