darkwire.io/build.sh
Jeremie Pardou-Piquemal 6d0b703102 Fix env loading
2022-12-30 07:27:37 +01:00

19 lines
244 B
Bash
Executable File

#!/bin/bash
api_host=$API_HOST
if [[ "$HEROKU_APP_NAME" =~ "-pr-" ]]
then
api_host=""
fi
echo "building client..."
cd client
yarn --production=false
yarn build
cd ../
echo "building server..."
cd server
yarn --production=false
yarn build