Fix: Add Google Maps API key to deployment workflow#13
Conversation
- Include VITE_GOOGLE_MAPS_API_KEY in build environment - Fixes location autocomplete not working in production - API key must be set in GitHub Secrets for deployment
|
Claude finished @unforced's task —— View job Code Review Complete ✅I've thoroughly reviewed this PR and the changes look good overall. Here's my detailed feedback: Todo List:
Review Feedback✅ What's Good
🔍 Security Analysis
📋 Code Quality & Best Practices
🧪 Testing ConsiderationsNote: This change doesn't include automated tests, but that's appropriate since:
💡 Minor Suggestions
Overall Assessment✅ APPROVED - This is a well-executed fix that:
The change is production-ready and should resolve the Google Maps location autocomplete issue in production. |
Overview
Fixes the Google Maps location autocomplete not working in production.
Problem
Solution
VITE_GOOGLE_MAPS_API_KEYto the build environment variables in GitHub Actions workflowTesting
After merging and deployment:
Prerequisites
Make sure
VITE_GOOGLE_MAPS_API_KEYis set in your GitHub repository secrets:VITE_GOOGLE_MAPS_API_KEYexists with your new API keyThis should fix the location autocomplete in production.