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.
 
 

16 lines
353 B

/* eslint strict: 0, no-console: 0 */
'use strict';
const ghPages = require('gh-pages');
const path = require('path');
ghPages.publish(path.join(process.cwd(), '_site'), {
depth: 1,
logger(message) {
console.log(message);
}
}, (err) => {
if (err) {
throw err;
}
console.log('Site has been published to http://ant.design 🎉');
});