We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26aca84 commit aad2712Copy full SHA for aad2712
scripts/ci/codegen/pushToAlgoliaDoc.ts
@@ -44,6 +44,7 @@ async function pushToAlgoliaDoc(): Promise<void> {
44
await run(`git checkout -B ${targetBranch}`, { cwd: tempGitDir });
45
46
const pathToSpecs = toAbsolutePath(`${tempGitDir}/app_data/api/specs`);
47
+ await run(`rm -rf ${pathToSpecs}/* || true`);
48
await run(`cp ${toAbsolutePath('specs/bundled/*.doc.yml')} ${pathToSpecs}`);
49
await run(`cp ${toAbsolutePath('config/release.config.json')} ${pathToSpecs}`);
50
await run(`cp ${toAbsolutePath('website/src/generated/*.json')} ${pathToSpecs}`);
0 commit comments