You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
313 B

var ghPages = require('gh-pages');
9 years ago
var path = require('path');
ghPages.publish(path.join(process.cwd(), '_site'), {
depth: 1,
logger: function (message) {
console.log(message);
}
}, function (err) {
if (err) {
throw err;
}
9 years ago
console.log('Site has been published to http://ant.design 🎉');
});