Skip to content

Commit

Permalink
firebase deployment done
Browse files Browse the repository at this point in the history
  • Loading branch information
sudhanshuGt committed Jul 24, 2024
1 parent eac341d commit 75b4e6a
Show file tree
Hide file tree
Showing 22 changed files with 1,135 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
vite.svg,1721558380906,699a02e0e68a579f687d364bbbe7633161244f35af068220aee37b1b33dfb3c7
index.html,1721847449697,ae52e052e3eab2135eb535d1890ad672eabc65317956a6f07bc1f41cfb20e5be
assets/index-DZPWy2Ki.css,1721847449697,5434ab18df5aa2ed0d1c71bf5a8994ae830d7c6c6accf940dd864e4a5ab8c466
assets/index-BCZf9taB.js,1721847449697,673e3a64b0fabeb77b4189b825ccf08e259c27f2e33fa8ace13e6b16d0dd0bc3
notfound.jpg,1721558380906,48546437fb7620a6c5995a2604bc70d48ca894de7a727b78e81c21d5856a5fc6
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "inscribe-d9e3b"
}
}
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@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_INSCRIBE_D9E3B }}
channelId: live
projectId: inscribe-d9e3b
21 changes: 21 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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
permissions:
checks: write
contents: read
pull-requests: write
jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_INSCRIBE_D9E3B }}
projectId: inscribe-d9e3b
237 changes: 237 additions & 0 deletions dist/assets/index-BCZf9taB.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/assets/index-DZPWy2Ki.css

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<script type="module" crossorigin src="/assets/index-BCZf9taB.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DZPWy2Ki.css">
</head>
<body>
<div id="root"></div>
</body>
</html>
Expand Down
Binary file added dist/notfound.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading

0 comments on commit 75b4e6a

Please sign in to comment.