mirror of
https://github.com/scratchfoundation/gh-pages.git
synced 2024-11-25 00:38:07 -05:00
parent
1447396597
commit
e7d1e31573
1 changed files with 5 additions and 1 deletions
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue