deploy.sh

rm -rf build
npm run build
node ./scripts/pre-deploy.js
if [ "$1" = 'prod' ];  
then
   firebase use rhythm-guitar
else
   firebase use rhythm-guitar-ppe
fi
firebase deploy --only hosting