Scheduling infrastructure for absolutely everyone.
chore: add staging deploy script for Vercel
zomarsef6bf3d451e4
diff --git a/scripts/vercel-staging-deploy.sh b/scripts/vercel-staging-deploy.shnew file mode 100755index 00000000000..4c1e1e691f8--- /dev/null+++ b/scripts/vercel-staging-deploy.sh@@ -0,0 +1,11 @@+#!/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 \+ apps/web/app/\+ apps/web/components/PageWrapperAppDir.tsx\+ apps/web/lib/app-providers-app-dir.tsx\+ apps/web/.next/types/app/+fi