fix: Broken preview deployments (#16523)
This commit is contained in:
-3
@@ -1,8 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Only deploy to production
|
||||
if [ "$VERCEL_ENV" != "production" ]; then exit 0; fi
|
||||
|
||||
checkRoute () {
|
||||
if [ "$1" != '1' ]; then rm -rf $2; fi
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user