File tree Expand file tree Collapse file tree 1 file changed +25
-27
lines changed
Expand file tree Collapse file tree 1 file changed +25
-27
lines changed Original file line number Diff line number Diff line change @@ -2,37 +2,35 @@ name: build and deploy
22
33on :
44 push :
5- branches : [' dev' ]
5+ branches : [ " dev" ]
66 pull_request :
7- branches : [' dev' ]
7+ branches : [ " dev" ]
88
99jobs :
1010 build :
11+
1112 runs-on : ubuntu-latest
1213
1314 steps :
14- - uses : actions/checkout@v4
15- with :
16- submodules : true
17- token : ${{ secrets.PAT_TOKEN }}
18- fetch-depth : 0
19-
20- - name : Set up node.js
21- uses : actions/setup-node@v4
22- with :
23- node-version : ' 22'
24-
25- - name : Install dependencies
26- run : |
27- npm install
28- cd cra-web-frontend-data && npm install
29-
30- - name : Build vite
31- run : npm run build
32-
33- - name : Install Firebase CLI
34- run : npm install -g firebase-tools
35-
36- - name : Deploy to Firebase
37- run : |
38- firebase deploy --only hosting --token ${{ secrets.FIREBASE_AUTH_TOKEN }}
15+ - uses : actions/checkout@v4
16+ with :
17+ submodules : true
18+ token : ${{ secrets.PAT_TOKEN }}
19+ fetch-depth : 0
20+
21+ - name : Set up node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' 22'
25+
26+ - name : Install dependencies
27+ run : npm install
28+
29+ - name : Build vite
30+ run : npm run build
31+
32+ - name : Install Firebase CLI
33+ run : npm install -g firebase-tools
34+
35+ - name : Deploy to Firebase
36+ run : firebase deploy --only hosting --token ${{ secrets.FIREBASE_AUTH_TOKEN }}
You can’t perform that action at this time.
0 commit comments