'use strict';

var ghpages = require('gh-pages');

main();

function main() {
  ghpages.publish('./', {
    src: 'index.html|dist/*|assets/*'
  }, console.error.bind(console));
}

'use strict';

var ghpages = require('gh-pages');

main();

function main() {
  ghpages.publish('./', {
    src: '*(index.html|dist|assets)'
  }, console.error.bind(console));
}

Tweak deployment pattern