Skip to content

Commit 1058015

Browse files
committed
Revert "Fix Firebase authentication with consistent credential paths"
This reverts commit f9aa069.
1 parent f9aa069 commit 1058015

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,10 @@ jobs:
2525
- name: Build Astro site
2626
run: npm run build
2727

28-
- name: Setup Firebase credentials
29-
run: |
30-
echo "$FIREBASE_SERVICE_ACCOUNT" > ${{ runner.temp }}/gcloud-key.json
31-
env:
32-
FIREBASE_SERVICE_ACCOUNT: ${{ secrets.FIREBASE_SERVICE_ACCOUNT }}
33-
34-
- name: Install Firebase CLI
35-
run: npm install -g firebase-tools
36-
37-
- name: Deploy to Firebase Hosting
38-
run: firebase deploy --only hosting --non-interactive --project notifuse
39-
env:
40-
GOOGLE_APPLICATION_CREDENTIALS: ${{ runner.temp }}/gcloud-key.json
28+
- name: Deploy to Firebase
29+
uses: FirebaseExtended/action-hosting-deploy@v0
30+
with:
31+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
32+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
33+
channelId: live
34+
projectId: notifuse

0 commit comments

Comments
 (0)