We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ba894c commit adf8253Copy full SHA for adf8253
1 file changed
.github/workflows/firebase-hosting.yml
@@ -0,0 +1,35 @@
1
+name: Deploy to Firebase Hosting
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ build_and_deploy:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 20
19
+ cache: 'npm'
20
21
+ - name: Install Dependencies
22
+ run: npm ci
23
24
+ - name: Lint
25
+ run: npm run lint
26
27
+ - name: Build
28
+ run: npm run build
29
30
+ - name: Deploy to Firebase Hosting
31
+ uses: FirebaseExtended/action-hosting-deploy@v0
32
33
+ repoToken: '${{ secrets.GITHUB_TOKEN }}'
34
+ firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PYRAMID_S }}'
35
+ projectId: pyramid-s
0 commit comments