fix: deploy script

This commit is contained in:
zomars committed 2023-12-19 14:00:04 -07:00
1 parent 254dfc9e6a
commit a3443b4e76
1 file changed
+4 -4
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
if [ "$SKIP_APP_DIR" == "1" ]; then
echo "Skipping app directory build"
rm -rf \
app/\
components/PageWrapperAppDir.tsx\
lib/app-providers-app-dir.tsx\
.next/types/app/
fi
if [ "$VERCEL_ENV" == "preview" ]; then exit 1; else exit 0; fi