mirror of
https://github.com/rschamp/gh-pages.git
synced 2026-04-06 06:24:22 +08:00
@@ -27,6 +27,10 @@ ghpages.publish(path.join(process.cwd(), program.dist), {
|
||||
logger: function(message) {
|
||||
console.log(message);
|
||||
}
|
||||
}, function() {
|
||||
}, function(err) {
|
||||
if (err != null) {
|
||||
console.log(err)
|
||||
return process.exit(1);
|
||||
}
|
||||
console.log('Published');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user