File tree 5 files changed +127
-2
lines changed
5 files changed +127
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "projects": {
3
+ "default": "js-draw"
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 : cd docs/example && yarn install && yarn build
15
+ - uses : FirebaseExtended/action-hosting-deploy@v0
16
+ with :
17
+ repoToken : ' ${{ secrets.GITHUB_TOKEN }}'
18
+ firebaseServiceAccount : ' ${{ secrets.FIREBASE_SERVICE_ACCOUNT_JS_DRAW }}'
19
+ channelId : live
20
+ projectId : js-draw
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
+ if : ' ${{ github.event.pull_request.head.repo.full_name == github.repository }}'
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v2
12
+ - run : cd docs/example && yarn install && yarn build
13
+ - uses : FirebaseExtended/action-hosting-deploy@v0
14
+ with :
15
+ repoToken : ' ${{ secrets.GITHUB_TOKEN }}'
16
+ firebaseServiceAccount : ' ${{ secrets.FIREBASE_SERVICE_ACCOUNT_JS_DRAW }}'
17
+ projectId : js-draw
Original file line number Diff line number Diff line change 1
1
node_modules /
2
2
dist /
3
- yarn-error.log
4
3
.vscode /
5
4
* .swp
6
- * .swo
5
+ * .swo
6
+
7
+ # .gitignore for deploying to Firebase hosting
8
+ # Logs
9
+ logs
10
+ * .log
11
+ npm-debug.log *
12
+ yarn-debug.log *
13
+ yarn-error.log *
14
+ firebase-debug.log *
15
+ firebase-debug. * .log *
16
+
17
+ # Firebase cache
18
+ .firebase /
19
+
20
+ # Firebase config
21
+
22
+ # Uncomment this if you'd like others to create their own Firebase project.
23
+ # For a team working on the same Firebase project(s), it is recommended to leave
24
+ # it commented so all members can deploy to the same project(s) in .firebaserc.
25
+ # .firebaserc
26
+
27
+ # Runtime data
28
+ pids
29
+ * .pid
30
+ * .seed
31
+ * .pid.lock
32
+
33
+ # Directory for instrumented libs generated by jscoverage/JSCover
34
+ lib-cov
35
+
36
+ # Coverage directory used by tools like istanbul
37
+ coverage
38
+
39
+ # nyc test coverage
40
+ .nyc_output
41
+
42
+ # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
43
+ .grunt
44
+
45
+ # Bower dependency directory (https://bower.io/)
46
+ bower_components
47
+
48
+ # node-waf configuration
49
+ .lock-wscript
50
+
51
+ # Compiled binary addons (http://nodejs.org/api/addons.html)
52
+ build /Release
53
+
54
+ # Dependency directories
55
+ node_modules /
56
+
57
+ # Optional npm cache directory
58
+ .npm
59
+
60
+ # Optional eslint cache
61
+ .eslintcache
62
+
63
+ # Optional REPL history
64
+ .node_repl_history
65
+
66
+ # Output of 'npm pack'
67
+ * .tgz
68
+
69
+ # Yarn Integrity file
70
+ .yarn-integrity
71
+
72
+ # dotenv environment variables file
73
+ .env
Original file line number Diff line number Diff line change
1
+ {
2
+ "hosting" : {
3
+ "public" : " docs" ,
4
+ "ignore" : [
5
+ " firebase.json" ,
6
+ " src/**" ,
7
+ " .husky/**" ,
8
+ " .vscode/**" ,
9
+ " build_tools/**" ,
10
+ " dist/**" ,
11
+ " __mocks__/**" ,
12
+ " **/.*" ,
13
+ " **/node_modules/**"
14
+ ]
15
+ }
16
+ }
You can’t perform that action at this time.
0 commit comments