This repository was archived by the owner on Oct 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +25
-5
lines changed Expand file tree Collapse file tree 4 files changed +25
-5
lines changed Original file line number Diff line number Diff line change 4343 asset_path : ./auth-web.zip
4444 asset_name : auth-web.zip
4545 asset_content_type : application/zip
46- - name : Deploy at dev environment
47- run : |
48- npm i -g firebase-tools
49- firebase use dev --token ${{ secrets.FIREBASE_DEV_TOKEN }}
50- firebase deploy --only hosting:dev --token ${{ secrets.FIREBASE_DEV_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : web-deploy
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ web-deploy :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : actions/setup-node@v1
15+ with :
16+ node-version : ' 12.x'
17+ - name : Build
18+ run : |
19+ npm run build:dev
20+ - name : Deploy at dev environment
21+ run : |
22+ npm i -g firebase-tools
23+ firebase use dev --token ${{ secrets.FIREBASE_PROD_TOKEN }}
24+ firebase deploy --only hosting:prod --token ${{ secrets.FIREBASE_PROD_TOKEN }}
File renamed without changes.
Original file line number Diff line number Diff line change 55 "ng" : " ng" ,
66 "start" : " ng serve" ,
77 "build" : " ng build" ,
8+ "build:dev" : " ng build --aot" ,
89 "build:prod" : " ng build --prod" ,
910 "test" : " jest" ,
1011 "test:watch" : " jest --watch" ,
You can’t perform that action at this time.
0 commit comments