Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
feat: added firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
oppahansi committed Dec 27, 2023
1 parent 7f69fa6 commit d7f7188
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .firebase/hosting.YnVpbGRcd2Vi.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
favicon.ico,1703689086124,d1a37faf34f47a0439386b0df24c0fec2d655447aa3ddd984cf7791d9f6932fa
favicon.png,1701082512000,0cab6e3dd5a9f008afdd133e1e1207cf65f2f2a10eb6712e3c209d8a5f76425a
index.html,1703700627233,76d155093f25b7d35268d4998832b477a4fdd8c0a49e95e3043bfc2bc48330f4
flutter_service_worker.js,1703700627457,94bb627f65ef7dc40484a9332c22f94fb2779ef227b48a4ecc9e37b954e95ad1
version.json,1703700626406,a1e4e477139c4d34512015023740abaefbe27be418aecd5e8896140c208b35ee
assets/AssetManifest.bin,1703700626478,6a6cbb315e6a6864c55a71c31507858d908d106a317cd4f142f03b1f122ba715
assets/AssetManifest.bin.json,1703700626478,4bfbedfaf721ef4510dab6e9dfdf17670e4b81b12ca35efedf0094c7d7fa19f9
manifest.json,1703588124934,415bf111080d4d671b917646dfe5767e2df61f87abb1b154702820e33a5dbdb6
assets/FontManifest.json,1703700626478,638dde6f87e8796f3054f78065f73846fc5e170e081d2501d08e3ceaa300edb5
flutter.js,1703700610133,08d02d9a4e5bda1dc4f598e853e8a49e7995415fb153af1f0fda3119e28c2ba4
assets/AssetManifest.json,1703700626478,6f50b1d9a90bbef93a4730743b0af07df1ad4658c5a14037670dfc0d6c66e4f6
assets/assets/images/pixabay_logo.png,1703669328835,e5abfcd081c7d15e8d49be2e001faad6fa53cb1913e1208de1787537407caac3
assets/assets/images/pexels_logo.png,1703675601800,b4728aa487b3a08dd3efd46e62ef24459b69ab5cf841b482db845e2c346da7c0
assets/assets/images/pexels_logo_white.png,1703675587947,097c4856825d6504695a85307ae0bd03a5f0ec831c1521e43bafa8133426a770
assets/assets/images/unsplash_logo.png,1538584442000,4f95793261af49f6a2c493d196eabf8b3a67f04d9cc185da672f63a0042655e7
assets/assets/images/unsplash_logo_white.png,1621607954000,a039c313cfdeecbd7873d274018d7311489b50e5b51c1e09daea7b35cfcc9648
assets/fonts/MaterialIcons-Regular.otf,1703700627223,957dfc3213bc963a6042ad548706f4ddf21af4c4ac6ba68221c45c4965602369
assets/packages/cupertino_icons/assets/CupertinoIcons.ttf,1703700627223,b501b0d579cac021ad1b019709f08d80343ac2718c73d782f448c414a9b0aeca
assets/assets/images/pixabay_logo_white.png,1703669383474,efb92ad1464af3e5ea9b27974375e339e2abafb755e9be814fc91b8078979dbe
assets/shaders/ink_sparkle.frag,1703700626658,13ca37c92676b44acedc45bbfda9f56fca4781d57cee88db47e8cf73fa781541
canvaskit/skwasm.worker.js,1703316182175,4d46196245dc222fe063d4554ec2477feb1034714b964029f7f3975a62bba92d
icons/Icon-512.png,1701082512000,9cf4cd298ae95acc1f25e97d88aa3f6bbfdf40867ea0f8a854c4393f49d56e64
icons/Icon-192.png,1701082512000,eaf2464bfb1d192fdd192a616f7b858dee456d573c6ec619648a1dcf2bdddfa6
icons/Icon-maskable-192.png,1701082512000,196ce9142a3442ab37ae90cd46c3389e4660400c859b81cbb0538a51b39752eb
icons/Icon-maskable-512.png,1701082512000,6833b7c449e0dd24d5e164a53cc4557e643893e675b476b05efcbb9a6aa05bf0
canvaskit/skwasm.js,1703316182162,8f98d627816f4dd57c3c225a1a7dfb0129e4d2a11cd69e8f40d59ba691aab3f7
canvaskit/canvaskit.js,1703316182131,0bf82df33fb8af9dda7fe190359806f42825317f583cff5f775836d287c70526
canvaskit/chromium/canvaskit.js,1703316182148,2e0c44444986053a63e2fbd876325e24b539ae09d53b6ac8ff3314f336c41df1
assets/NOTICES,1703700626479,66caafb6b3379deaedf50d06b1ef7d215e6b2a70da7d1b48b9bdfc146801a8d5
main.dart.js,1703700625924,90b6ba09f570569b663253d5b4153e5759f1b83a9af94287483b929dd85b1fa2
canvaskit/skwasm.wasm,1703316182173,6b8ed9592e500e8913791220010ccf7751c9aa2f77c985cbfd7a76dc02faf034
canvaskit/chromium/canvaskit.wasm,1703316182161,dc2841ea8dcf5ab900d4ac14deb0f5acf9172c7cf16e79eebd8de7ec7a7b1bbf
canvaskit/canvaskit.wasm,1703316182147,15ac9be72324a84aaabd69128c65a818e820d857ba6da8034d2dca5b1c5e4e44
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "free-image-search-8fcf8"
}
}
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_FREE_IMAGE_SEARCH_8FCF8 }}'
channelId: live
projectId: free-image-search-8fcf8
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_FREE_IMAGE_SEARCH_8FCF8 }}'
projectId: free-image-search-8fcf8
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/web",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}

0 comments on commit d7f7188

Please sign in to comment.