File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments