diff --git a/.firebase/hosting.YnVpbGQ.cache b/.firebase/hosting.YnVpbGQ.cache new file mode 100644 index 0000000..143b3c7 --- /dev/null +++ b/.firebase/hosting.YnVpbGQ.cache @@ -0,0 +1,14 @@ +asset-manifest.json,1677675396683,16343374d1a45c108e4ea0236da68684e14d10b8a991a3e2aa01874bf0fdf301 +index.html,1677675396683,3c30c110370680c59f917e25b80b878c014df2eda35f1b417af9684fb88ffd53 +img/favicon.ico,1677675387573,0678128bc644faf170158a693ac51484cd2d56a579fa5d6baaa9b8ff19a6cdac +img/github.png,1677675387573,d3551bb9edc9e10d402d5e8885254d82360eaea764faf9b08bb1a1532d943df1 +img/right.png,1677675387573,afcb07422541b18b8eba0c41e0aaa54f590fef9b3fda62bc1b1869412a853e07 +img/yongmipa.jpeg,1677675387573,1bcf6b918f7e35f16b1d9917f608e3785ef64676f5d65275990a59022dbb2c4a +static/js/main.7d6933ca.js.LICENSE.txt,1677675396683,2d4ce57f7a3c777d739eabad8d8f4dd18a263efdf013ba91a7a55f84c9df85d8 +img/kijsong.jpeg,1677675387573,34fac4593c2ebe03780cfe992f2146414910d59be82166a3aabcb9320b9dc409 +img/yujelee.jpeg,1677675387573,0586847b63e4ad47891149bf89d830c45bb91b6d5518581ea40044215599dc80 +img/logo.png,1677675387573,43171fd43c2686c154961e7ab5d4d0f2fd0ec5c5ec7ab704cd23e84735770588 +img/mal.png,1677675387573,7f227f84c3478dcff47eb3b74a71f00648044e7be13ce899b13dccc44551bbf0 +img/Cat.jpg,1677675387573,4c0176dd7ee021c5c4fc1295626096cd1ddb0e9faa5125f552454f5f96b01c6b +static/js/main.7d6933ca.js,1677675396683,14350b4b71103a28799072df84ced33f6bf97ba8f789d09a63e0c2826e89c106 +static/js/main.7d6933ca.js.map,1677675396683,c9fbbeb12447ac7d8e97b7deda11f0e57aca5590c0fd4c77072389b317ea57a8 diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..205bb7b --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "react-project-23036" + } +} diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml new file mode 100644 index 0000000..3bc06e9 --- /dev/null +++ b/.github/workflows/firebase-hosting-merge.yml @@ -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: + - develop +jobs: + build_and_deploy: + 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_PROJECT_23036 }}' + channelId: live + projectId: react-project-23036 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml new file mode 100644 index 0000000..8a1edaa --- /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_PROJECT_23036 }}' + projectId: react-project-23036 diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..340ed5b --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "build", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +}