File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build and Deploy
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+
7
+ jobs :
8
+ build :
9
+ name : Build
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout Repo
13
+ uses : actions/checkout@master
14
+ - name : Get the list of modified files only & Generate installers
15
+ uses : technote-space/get-diff-action@v1
16
+ run : pip install toml && python generate.py ${{ env.GIT_DIFF }}
17
+ - name : Archive Production Artifact
18
+ uses : actions/upload-artifact@master
19
+ with :
20
+ name : installers
21
+ path : installers
22
+ deploy :
23
+ name : Deploy
24
+ needs : build
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - name : Checkout Repo
28
+ uses : actions/checkout@master
29
+ - name : Download Artifact
30
+ uses : actions/download-artifact@master
31
+ with :
32
+ name : installers
33
+ path : installers
34
+ - name : Deploy to Firebase
35
+ uses : w9jds/firebase-action@master
36
+ with :
37
+ args : deploy --only storage
38
+ env :
39
+ FIREBASE_TOKEN : ${{ secrets.FIREBASE_TOKEN }}
You can’t perform that action at this time.
0 commit comments