You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf "%sThis will deploy the current code on this machine (branch: %s, hash: %s) to the live environment on Firebase%s" "$bold" "$current_branch" "$current_hash" "$normal"
echo
read -r -p "Continue? [y/N] " -n 1
if [[ "$REPLY" =~ ^[Yy]$ ]]; then
echo
# Ensure the app deploy folder exists in the firebase folder
mkdir -p firebase/dist
# Clean out an existing build
rm -rf firebase/dist/app
# Build the production app and copy the output to the deploy folder