Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Integrate Firebase for backend services #4

Merged
merged 2 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
asset-manifest.json,1700885538742,bb440119c82563a087f91c403bc4a5691a013120653ba7daf302947373f53fd6
index.html,1700885538741,5b97bd35b9a63c50f0cca5ceec23d5b2af0d4672430a79ad7e2adddce6780870
manifest.json,1700873208403,ee04fb47e525c67d8424ffe9b4d8a8a24e434504478afca4e0ca602146836d4c
robots.txt,1700873208626,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49
static/css/main.f855e6bc.css,1700885538743,e0b62f2a73f324feb61f9ce0da624ed3f57a7a8bf0a7c54521f99493a7f1da41
favicon.ico,1700873207950,27edce7be5922cf0bef7d4136f69b5bfbdd5bf8c13c7b026f71187d41a00aa7d
logo192.png,1700873208564,79e2b749561016bc8af300ea19f48347ceed3cb1a54f48ae456172eca45e08f0
static/css/main.f855e6bc.css.map,1700885538743,9e8aadc8f69c2a8943813dee9f3d5ba2edaf1e8103853219a06d1cba5389ddbc
logo512.png,1700873208587,212b102aa09e51b3b3e06647e81f7801a61333e171f6582e8124379aabccb41d
static/js/787.40e53633.chunk.js,1700885538743,3da3e10659b4ca0c2ac766888f13d4c9d85a9cc7e8e3e107a9defef60694349a
static/js/main.c5376f77.js.LICENSE.txt,1700885538743,ebb955790131b63156f7f1d15240d328171a58be63d822f12db953b3d6e41eec
static/js/787.40e53633.chunk.js.map,1700885538743,1d8d65e6847c24224ea8ffa551549fd044401b1d2a0ab25e89c0fb7460d18ea4
static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg,1700885538742,1ba5ab29d08b53b3c796cb7a8991d18ea9f36d9690fbd3e609681c47808a7bcb
static/js/main.c5376f77.js,1700885538743,5dab27a196653274bd50ded7a84429bdcea3f618db024eb1cd751739121a65b4
static/js/main.c5376f77.js.map,1700885538743,fcb98835c049ce1b95f1e73160df4dc6c0881c41a4618fb1e18c216b590b88ba
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "dizzyz"
}
}
20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DIZZYZ }}'
channelId: live
projectId: dizzyz
17 changes: 17 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting on PR
'on': pull_request
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DIZZYZ }}'
projectId: dizzyz
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading