Skip to content

Commit

Permalink
[ci] Work around docosaurus errors (#206097)
Browse files Browse the repository at this point in the history
## Summary
This workaround removes the folder that needs to be built differently
after cloning the repos.

See: #206077
  • Loading branch information
delanni authored Jan 9, 2025
1 parent 668d88e commit b3b8133
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/kbn-validate-next-docs-cli/validate_next_docs_cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ run(
sources.map(async (source): Promise<Source> => {
const repo = await repos.init(source.location);

// TODO: Remove this, once https://github.com/elastic/kibana/issues/206077 is resolved
if (source.location === 'elastic/kibana-team') {
log.info(
'Removing internal.kibana.dev from elastic/kibana-team - see https://github.com/elastic/kibana/issues/206077 for more details.'
);
await repo.run('rm', ['-rf', 'internal.kibana.dev'], { desc: 'rm internal.kibana.dev' });
}

return {
type: 'file',
location: repo.resolve(),
Expand Down

0 comments on commit b3b8133

Please sign in to comment.