Skip to content

Commit

Permalink
update GOOGLE_API_KEY -> GOOGLE_MAPS_API_KEY
Browse files Browse the repository at this point in the history
  • Loading branch information
brignano authored Jul 21, 2024
1 parent 7b1d0cc commit 7dd4ba3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ REACT_EDITOR=code
API_URL="http://localhost:3000/api"
# update below values in .env.local
JSON_RESUME_URL=""
GOOGLE_API_KEY=""
GOOGLE_MAPS_API_KEY=""
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
env:
API_URL: "https://${{ github.actor }}.github.io/${{ github.event.repository.name }}"
JSON_RESUME_URL: ${{ vars.JSON_RESUME_URL }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_MAPS_KEY }}
GOOGLE_MAPS_API_KEY: ${{ secrets.GOOGLE_MAPS_KEY }}
LOG_LEVEL: info
run: npm run build
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion app/_components/_about/location.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function Location(props: LocationProps) {
width="600"
height="450"
style={{ border: 0 }}
src={`https://www.google.com/maps/embed/v1/place?q=${location.city},${location.state},${location.country}&key=${process.env.GOOGLE_API_KEY}`}
src={`https://www.google.com/maps/embed/v1/place?q=${location.city},${location.state},${location.country}&key=${process.env.GOOGLE_MAPS_API_KEY}`}
/>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const nextConfig = {
jsonResumeUrl: process.env.JSON_RESUME_URL
},
serverRuntimeConfig: {
googleApiKey: process.env.GOOGLE_API_KEY
googleApiKey: process.env.GOOGLE_MAPS_API_KEY
}
};

Expand Down

0 comments on commit 7dd4ba3

Please sign in to comment.