Skip to content

Commit

Permalink
hosting deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
doziben committed Jun 19, 2022
1 parent c4f2817 commit 839419c
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
index.html,1655634960235,9d60c8dbd2f84318cd7a0dab8920c46f9464c763a5a9521d4f1215b82e4d655d
assets/logo.42522981.svg,1655634960252,2eee4ac348b000bdda001a614c67d27377486de50e45c8665912720caa6a6dc0
assets/favicon.41ae93a4.svg,1655634960252,c1812c83f18042c887c84e7b080b98f03cb56acb6f8f2f0d890b6566dd179b0e
assets/index.a19f356d.css,1655634960253,c069b87cf16cb325fd48a91db0a9c73648cc441b606baf01b087bbca0f0070ec
assets/index.e6ab882e.js,1655634960259,7c47a21186e22681c9632216b5e43d30d98dd05a74fb81319b88173ee41e3110
assets/heroImg.934288db.png,1655634960408,2255da937cb9c94bc9f2ddec732a85766e47dc989a7d7a0fb08ec9a0c2d6a3e4
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "react-demo-7b7a3"
}
}
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@v2
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_REACT_DEMO_7B7A3 }}'
projectId: react-demo-7b7a3
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"
}
]
}
}

0 comments on commit 839419c

Please sign in to comment.