Skip to content

Commit

Permalink
Add Vercel build script
Browse files Browse the repository at this point in the history
  • Loading branch information
wojexe committed Sep 3, 2024
1 parent 6fcbc0b commit a426829
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vercel_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

if [[ $VERCEL_ENV == "production" ]]; then
echo 'Building production'
bun run build
elif [[ $VERCEL_ENV == "staging" ]]; then
echo 'Building staging'
bun run build:staging
else
echo 'Building production ($VERCEL_ENV not set)'
bun run build
fi

0 comments on commit a426829

Please sign in to comment.