mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 10:48:05 +02:00
Fix publish script to work in Docusaurus itself
This commit is contained in:
parent
999187889e
commit
feb2fb41d0
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ if (CI_PULL_REQUEST || CIRCLE_BRANCH !== `master`) {
|
||||||
shell.exit(0);
|
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.echo("Error: generating html failed");
|
||||||
shell.exit(1);
|
shell.exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue