forked from external-repos/LifeTrinket
expose api key
This commit is contained in:
2
.github/workflows/firebase-hosting-mege.yml
vendored
2
.github/workflows/firebase-hosting-mege.yml
vendored
@@ -8,8 +8,6 @@ name: Deploy to Firebase Hosting on merge
|
|||||||
jobs:
|
jobs:
|
||||||
build_and_deploy:
|
build_and_deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
|
||||||
FIREBASE_ANALYTICS_API_KEY: '${{ secrets.FIREBASE_ANALYTICS_API_KEY }}'
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: yarn && yarn build && yarn lint
|
- run: yarn && yarn build && yarn lint
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { initializeApp } from 'firebase/app';
|
|||||||
import { getAnalytics, logEvent } from 'firebase/analytics';
|
import { getAnalytics, logEvent } from 'firebase/analytics';
|
||||||
|
|
||||||
const firebaseConfig = {
|
const firebaseConfig = {
|
||||||
apiKey: process.env.FIREBASE_ANALYTICS_API_KEY,
|
apiKey: 'AIzaSyCZ1AHMb5zmWS4VoRnC-OBxTswUfrJ0mlY',
|
||||||
authDomain: 'life-trinket.firebaseapp.com',
|
authDomain: 'life-trinket.firebaseapp.com',
|
||||||
projectId: 'life-trinket',
|
projectId: 'life-trinket',
|
||||||
storageBucket: 'life-trinket.appspot.com',
|
storageBucket: 'life-trinket.appspot.com',
|
||||||
|
|||||||
Reference in New Issue
Block a user