cal/scripts/vercel-staging-deploy.sh
2023-12-19 13:36:42 -07:00

12 lines
305 B
Bash
Executable File

#!/bin/bash
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
if [ "$VERCEL_ENV" == "preview" ]; then exit 1; else exit 0; fi