42dca3d17b258dac251f5e84e407e13e80ffd8ae
1 var ghpages
= require('gh-pages')
2 , path
= require('path')
5 options
.logger
= console
.log
.bind(this);
7 function callback(err
) {
9 console
.error('Error publishing to gh-pages', err
);
11 console
.log('Successfully published to gh-pages');
15 ghpages
.publish(path
.join(__dirname
, './examples'), options
, callback
);