mirror of
https://github.com/lukevella/rallly.git
synced 2025-04-29 18:26:34 +02:00
7 lines
289 B
Bash
Executable file
7 lines
289 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
export NEXT_PUBLIC_APP_VERSION=v$(node -p "require('./package.json').version")
|
|
echo "Set NEXT_PUBLIC_APP_VERSION=$NEXT_PUBLIC_APP_VERSION"
|
|
yarn build
|
|
# Deploy migration using direct database connection (no connection pool)
|
|
DATABASE_URL=$DIRECT_DATABASE_URL yarn db:deploy
|