Detect platform and deploy to firebase for web interface