Skip to content

Commit

Permalink
chore: cleanup before pushing to docs (#3332)
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts authored Jul 8, 2024
1 parent 26aca84 commit aad2712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ci/codegen/pushToAlgoliaDoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ async function pushToAlgoliaDoc(): Promise<void> {
await run(`git checkout -B ${targetBranch}`, { cwd: tempGitDir });

const pathToSpecs = toAbsolutePath(`${tempGitDir}/app_data/api/specs`);
await run(`rm -rf ${pathToSpecs}/* || true`);
await run(`cp ${toAbsolutePath('specs/bundled/*.doc.yml')} ${pathToSpecs}`);
await run(`cp ${toAbsolutePath('config/release.config.json')} ${pathToSpecs}`);
await run(`cp ${toAbsolutePath('website/src/generated/*.json')} ${pathToSpecs}`);
Expand Down

0 comments on commit aad2712

Please # to comment.