ohmyform/scripts/heroku/postbuild.sh
2020-06-03 13:50:07 +02:00

18 lines
181 B
Bash
Executable File

cd ui/
echo "Build and Export UI"
yarn export
cd ../api
echo "Copy Exported UI to API"
cp -r ui/out public
yarn install
echo "Build API"
yarn build
echo "FINISHED postbuild"