Skip to content

Commit

Permalink
Fix firebase config #12
Browse files Browse the repository at this point in the history
  • Loading branch information
Gionata committed Sep 20, 2023
1 parent c7f2752 commit 97f6722
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ jobs:
FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.FIREBASE_MESSAGING_SENDER_ID }}
FIREBASE_APP_ID: ${{ secrets.FIREBASE_APP_ID }}
FIREBASE_MEASUREMENT_ID: ${{ secrets.FIREBASE_MEASUREMENT_ID }}
run: echo "NEXT_PUBLIC_DOMAIN_PATH=$NEXT_PUBLIC_DOMAIN_PATH" >> $GITHUB_ENV
run: |
echo "NEXT_PUBLIC_DOMAIN_PATH=$NEXT_PUBLIC_DOMAIN_PATH" >> $GITHUB_ENV
echo "$FIREBASE_API_KEY"
- name: Deploy to GitHub Pages
id: deployment
Expand Down
1 change: 1 addition & 0 deletions home/sea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default function Sea() {
const handleShare = async () => { };

useEffect(() => {
console.log('FIREBASE', firebase.options);
if (typeof window != undefined && isProd) {
//() Initialize Firebase
console.log('FIREBASE', firebase);
Expand Down

0 comments on commit 97f6722

Please sign in to comment.