Skip to content

Commit

Permalink
Hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
sonuku092 committed Feb 12, 2024
1 parent 57b241e commit fab36cc
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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@v4
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CHATBOT_1F971 }}'
channelId: live
projectId: chatbot-1f971
16 changes: 16 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 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@v4
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_CHATBOT_1F971 }}'
projectId: chatbot-1f971
14 changes: 14 additions & 0 deletions frontend/.firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
favicon.ico,1707622400217,27edce7be5922cf0bef7d4136f69b5bfbdd5bf8c13c7b026f71187d41a00aa7d
logo192.png,1707622405361,79e2b749561016bc8af300ea19f48347ceed3cb1a54f48ae456172eca45e08f0
logo512.png,1707622405632,212b102aa09e51b3b3e06647e81f7801a61333e171f6582e8124379aabccb41d
manifest.json,1707622403656,ee04fb47e525c67d8424ffe9b4d8a8a24e434504478afca4e0ca602146836d4c
robots.txt,1707622406100,bfe106a3fb878dc83461c86818bf74fc1bdc7f28538ba613cd3e775516ce8b49
asset-manifest.json,1707740415113,a84b65fb4d4c366d4c7e9698d674a9a0f361f8f52fb15e35f88801c476efac88
index.html,1707740415112,24ae2d5ab725856ce1218f41c8c805645556bb945a95b863b2937e165f82e827
static/css/main.b860c816.css,1707740415125,ac288d0b85c4c782ea3807694695851bd8a1710e1fb04ea89a5d9308cf993638
static/css/main.b860c816.css.map,1707740415125,3e44e07810ba3bfe0f1c0ebeb3bfc75a213d2958b8f01b9b93d1c294d69fa571
static/js/592.bf6ca574.chunk.js,1707740415125,ceb1a2891fce4a5d9b217bf1069e8cbcb4995bcc5c19135b57ca88faf4888f0d
static/js/592.bf6ca574.chunk.js.map,1707740415127,33c226d34291dd6423a33a5834e0a7b9e93d8c083785e5fe06c9c1cc089d4dd2
static/js/main.a64dc1a3.js.LICENSE.txt,1707740415127,0d9df4c0c4d6a70297138fabfcd9c219d225b469455dd98cc647fd0e0765b985
static/js/main.a64dc1a3.js,1707740415125,7a27878d145a81a50af9f168fc4673612458f1f5e4c06fb820c92f089961d122
static/js/main.a64dc1a3.js.map,1707740415126,5dbb293454d21efac0f79bf2d29a6cba6161531e12c13c19d737fe236256019b
5 changes: 5 additions & 0 deletions frontend/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "chatbot-1f971"
}
}
10 changes: 10 additions & 0 deletions frontend/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}

0 comments on commit fab36cc

Please sign in to comment.