Skip to content

Commit

Permalink
added firestore api key to github secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacdon3 committed Feb 12, 2023
1 parent f968324 commit daf2a3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_FIRESTORE_APIKEY = {{ secrets.FIRESTORE_APIKEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ dist-ssr
*.njsproj
*.sln
*.sw?
*.development
2 changes: 1 addition & 1 deletion src/contexts/FirebaseContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { getFirestore } from 'firebase/firestore';
import { ReactNode } from 'react';

const firebaseConfig = {
apiKey: 'AIzaSyBhCceLOrVjvS6DJsY7rU0sbscU3FYqm3Y',
apiKey: import.meta.env.VITE_FIRESTORE_APIKEY,
authDomain: 'resume-53741.firebaseapp.com',
projectId: 'resume-53741',
storageBucket: 'resume-53741.appspot.com',
Expand Down

0 comments on commit daf2a3e

Please sign in to comment.