Vercel Deployment

CLI deploy

gofire deploy

Choose preview or production deploy interactively.

Manual deploy

vercel --prod

Environment variables

Add variables like Firebase credentials to Vercel:

vercel env add FIREBASE_CREDENTIALS_JSON production

On Vercel use FIREBASE_CREDENTIALS_JSON instead of FIREBASE_CREDENTIALS_PATH (full JSON string).