Skip to content

Commit 4ffaeb7

Browse files
testing
1 parent d74a22a commit 4ffaeb7

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed
Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
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+

firebase.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
"firebase.json",
66
"**/.*",
77
"**/node_modules/**"
8-
],
9-
"rewrites": [
10-
{
11-
"source": "**",
12-
"destination": "/index.html"
13-
}
148
]
159
}
1610
}

0 commit comments

Comments
 (0)