From 254dfc9e6a4d91db7d81603d292ef6884c58cec1 Mon Sep 17 00:00:00 2001 From: zomars Date: Tue, 19 Dec 2023 13:36:42 -0700 Subject: [PATCH] fix: deploy script --- scripts/vercel-staging-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vercel-staging-deploy.sh b/scripts/vercel-staging-deploy.sh index 4c1e1e691f..163d935261 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