Skip to content

Commit cbaf1c6

Browse files
authored
chore: clean out site/out/assets/ when building to prevent "too much data" errors (#12313)
1 parent b9e2d0a commit cbaf1c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,8 @@ $(foreach chart,$(charts),build/$(chart)_helm_$(VERSION).tgz): build/%_helm_$(VE
361361

362362
site/out/index.html: site/package.json $(shell find ./site $(FIND_EXCLUSIONS) -type f \( -name '*.ts' -o -name '*.tsx' \))
363363
cd site
364+
# prevents this directory from getting to big, and causing "too much data" errors
365+
rm -rf out/assets/
364366
../scripts/pnpm_install.sh
365367
pnpm build
366368

0 commit comments

Comments
 (0)