File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : deploy
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " main"
7
+ paths-ignore :
8
+ - " .gitignore"
9
+ - " LICENSE"
10
+ - " README*"
11
+
12
+ pull_request :
13
+
14
+ jobs :
15
+ deploy :
16
+ runs-on : ubuntu-latest
17
+
18
+ steps :
19
+ - name : Checkout Repository
20
+ uses : actions/checkout@v2
21
+
22
+ - name : Set Up Node.js
23
+ uses : actions/setup-node@v3
24
+ with :
25
+ node-version : 18
26
+
27
+ - name : Install Dependencies
28
+ run : |
29
+ cd functions
30
+ npm install
31
+
32
+ - id : " auth"
33
+ uses : " google-github-actions/auth@v2"
34
+ with :
35
+ workload_identity_provider : ${{ secrets.workload_identity_provider }}
36
+ service_account : ${{ secrets.service_account }}
37
+ create_credentials_file : true
38
+
39
+ - name : Deploy to Firebase
40
+ run : |
41
+ cd functions
42
+ npm run deploy
You can’t perform that action at this time.
0 commit comments