diff --git a/lib/publish-gh-pages.js b/lib/publish-gh-pages.js index 435c7ba555..21c0a350bb 100755 --- a/lib/publish-gh-pages.js +++ b/lib/publish-gh-pages.js @@ -30,7 +30,7 @@ if (CI_PULL_REQUEST || CIRCLE_BRANCH !== `master`) { shell.exit(0); } -if (shell.exec("docusaurus-build").code) { +if (shell.exec(`node ${__dirname}/build-files.js`).code) { shell.echo("Error: generating html failed"); shell.exit(1); }