Skip to content

Commit

Permalink
using the right value to export the env
Browse files Browse the repository at this point in the history
  • Loading branch information
julien51 committed Aug 16, 2023
1 parent 3aa5ae7 commit ec44aa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unlock-app/scripts/deploy-vercel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ echo "READY TO DEPLOY $APP_PATH $DEPLOY_ENV $PROD (commit $COMMIT) TO VERCEL $V
if [ -n "$VERCEL_PROJECT_ID" ] && [ -n "$VERCEL_TOKEN" ] && [ -n "$VERCEL_ORG_ID" ]; then
# And ship!
export UNLOCK_ENV="$DEPLOY_ENV"
export NEXT_PUBLIC_UNLOCK_ENV="$DEPLOY_ENV"
# move to root directory
cd ..
npx -y vercel build -y --cwd . --token $VERCEL_TOKEN $PROD
Expand Down

0 comments on commit ec44aa6

Please sign in to comment.