mirror of https://github.com/coder/coder.git
chore: clean out site/out/assets/ when building to prevent "too much data" errors (#12313)
This commit is contained in:
parent
b9e2d0a400
commit
cbaf1c65ef
2
Makefile
2
Makefile
|
@ -361,6 +361,8 @@ $(foreach chart,$(charts),build/$(chart)_helm_$(VERSION).tgz): build/%_helm_$(VE
|
|||
|
||||
site/out/index.html: site/package.json $(shell find ./site $(FIND_EXCLUSIONS) -type f \( -name '*.ts' -o -name '*.tsx' \))
|
||||
cd site
|
||||
# prevents this directory from getting to big, and causing "too much data" errors
|
||||
rm -rf out/assets/
|
||||
../scripts/pnpm_install.sh
|
||||
pnpm build
|
||||
|
||||
|
|
Loading…
Reference in New Issue