fix: Broken preview deployments (#16523)

This commit is contained in:
Keith Williams
2024-09-06 12:58:41 +00:00
committed by GitHub
parent 5c75cfc17f
commit c080458faa
2 changed files with 0 additions and 14 deletions
@@ -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
}
-11
View File
@@ -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