How to use gh-pages.publish:
GitHub: MarkBind/markbind
1465 1466 1467 1468 1469 1470 1471 1472 1473 1474
const depOptions = await this.getDepOptions(ciTokenVar, defaultDeployConfig, publish); return Site.getDepUrl(depOptions, defaultDeployConfig); } /** * Helper function for deploy(). Set the options needed to be used by ghpages.publish. */ async getDepOptions(ciTokenVar, defaultDeployConfig, publish) { const basePath = this.siteConfig.deploy.baseDir || this.outputPath; if (!fs.existsSync(basePath)) {
106
94
13
See more examples