Skip to content

Scheduling infrastructure for absolutely everyone.

fix: deploy script

zomars254dfc9e6a4d
diff --git a/scripts/vercel-staging-deploy.sh b/scripts/vercel-staging-deploy.sh
index 4c1e1e691f8..163d9352619 100755
--- a/scripts/vercel-staging-deploy.sh
+++ b/scripts/vercel-staging-deploy.sh
@@ -1,6 +1,5 @@
#!/bin/bash
-if [ "$VERCEL_ENV" == "preview" ]; then exit 1; else exit 0; fi
if [ "$SKIP_APP_DIR" == "1" ]; then
echo "Skipping app directory build"
rm -rf \
@@ -9,3 +8,4 @@ if [ "$SKIP_APP_DIR" == "1" ]; then
apps/web/lib/app-providers-app-dir.tsx\
apps/web/.next/types/app/
fi
+if [ "$VERCEL_ENV" == "preview" ]; then exit 1; else exit 0; fi