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