function runPublish()

in index.js [276:285]


function runPublish() {
  ghpages.publish(DIST_DIR, function (err) {
    if (err) {
      console.error('There was an error during publishing:');
      console.error(err.message);
    } else {
      console.log('Publish to GitHub was successful.');
    }
  });
}