diff --git a/.firebase/hosting.ZGlzdA.cache b/.firebase/hosting.ZGlzdA.cache new file mode 100644 index 0000000..d7ba3de --- /dev/null +++ b/.firebase/hosting.ZGlzdA.cache @@ -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 diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..80653cc --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "react-demo-7b7a3" + } +} diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml new file mode 100644 index 0000000..92c9414 --- /dev/null +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -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 diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..2c33c29 --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "dist", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +}