File tree Expand file tree Collapse file tree 2 files changed +13
-16
lines changed
Expand file tree Collapse file tree 2 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 11# This file was auto-generated by the Firebase CLI
22# https://github.com/firebase/firebase-tools
33
4- name : Deploy to Firebase Hosting on merge
5- on :
4+ name : Deploy to Firebase Hosting on mergeon:
65 push :
76 branches :
87 - main
9- jobs :
108 build_and_deploy :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v4
14- - run : npm ci --include=dev && npm run build
15- - uses : FirebaseExtended/action-hosting-deploy@v0
9+ runs-on : ubuntu-latest steps:
10+ - name : Checkout Repository
11+ uses : actions/checkout@v3 - name: Install Node.js
12+ uses : actions/setup-node@v3
1613 with :
17- repoToken : ${{ secrets.GITHUB_TOKEN }}
18- firebaseServiceAccount : ${{ secrets.FIREBASE_SERVICE_ACCOUNT_NOTESAPP44 }}
14+ node-version : 18 - name: Install Dependencies
15+ run : npm install - name: Build Project
16+ run : npm run build - name: Deploy to Firebase
17+ uses : FirebaseExtended/action-hosting-deploy@v0
18+ with :
19+ repoToken : " ${{ secrets.GITHUB_TOKEN }}"
20+ firebaseServiceAccount : " ${{ secrets.FIREBASE_SERVICE_ACCOUNT_I_NOTES_TEST }}"
1921 channelId : live
2022 projectId : notesapp44
23+
Original file line number Diff line number Diff line change 55 " firebase.json" ,
66 " **/.*" ,
77 " **/node_modules/**"
8- ],
9- "rewrites" : [
10- {
11- "source" : " **" ,
12- "destination" : " /index.html"
13- }
148 ]
159 }
1610}
You can’t perform that action at this time.
0 commit comments