File tree Expand file tree Collapse file tree 4 files changed +61
-0
lines changed
Expand file tree Collapse file tree 4 files changed +61
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ "projects": {
3+ "default": "typing-test-84336"
4+ }
5+ }
Original file line number Diff line number Diff line change 1+ # This file was auto-generated by the Firebase CLI
2+ # https://github.com/firebase/firebase-tools
3+
4+ name : Deploy to Firebase Hosting on merge
5+ ' on ' :
6+ push :
7+ branches :
8+ - main
9+ jobs :
10+ build_and_deploy :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - run : npm ci && npm run build
15+ - uses : FirebaseExtended/action-hosting-deploy@v0
16+ with :
17+ repoToken : ' ${{ secrets.GITHUB_TOKEN }}'
18+ firebaseServiceAccount : ' ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TYPING_TEST_84336 }}'
19+ channelId : live
20+ projectId : typing-test-84336
21+ env :
22+ FIREBASE_CLI_PREVIEWS : hostingchannels
Original file line number Diff line number Diff line change 1+ # This file was auto-generated by the Firebase CLI
2+ # https://github.com/firebase/firebase-tools
3+
4+ name : Deploy to Firebase Hosting on PR
5+ ' on ' : pull_request
6+ jobs :
7+ build_and_preview :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v2
11+ - run : npm ci && npm run build
12+ - uses : FirebaseExtended/action-hosting-deploy@v0
13+ with :
14+ repoToken : ' ${{ secrets.GITHUB_TOKEN }}'
15+ firebaseServiceAccount : ' ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TYPING_TEST_84336 }}'
16+ projectId : typing-test-84336
17+ env :
18+ FIREBASE_CLI_PREVIEWS : hostingchannels
Original file line number Diff line number Diff line change 1+ {
2+ "hosting" : {
3+ "public" : " dist" ,
4+ "ignore" : [
5+ " firebase.json" ,
6+ " **/.*" ,
7+ " **/node_modules/**"
8+ ],
9+ "rewrites" : [
10+ {
11+ "source" : " **" ,
12+ "destination" : " /index.html"
13+ }
14+ ]
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments