Skip to content

Commit

Permalink
Merge pull request #32 from SOONG-E/develop
Browse files Browse the repository at this point in the history
chore: firebase로 배포
  • Loading branch information
jjongs2 authored Jan 22, 2024
2 parents ae0d4b2 + 91a452d commit d32d7b0
Show file tree
Hide file tree
Showing 10 changed files with 1,013 additions and 17 deletions.
12 changes: 12 additions & 0 deletions .firebase/hosting.cHVibGlj.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ic_battery.png,1704341034478,78a535413c1535545a5d70eeb8861f84120fa43ee58310e527d7a5bfa59d25e7
github.png,1704957008077,8217bf26f0d56eb428435a52772c3555681d4efc9a28fec7fd44614768ecb19c
ic_clear.png,1704948750704,0fec1d1cd3e365b15ab3b924f8e1aff81b479a55a6c6762203fe1a1230d555c9
ic_file_0.png,1704347571017,0e803af0eab7ef116434cdbc2df23c8a298c4536233d580b38dc0ff49bd876e1
ic_file_1.png,1704347571017,10d7d0ea5f99ad6f04dc3b49368e05187a2c0b32789a4275e65b9954f90065a2
ic_find.png,1704341034478,8b23c5929c0d40e8d3111d33e10ce69d82b4b86809bd612fb2e4d56c541a4f64
ic_logo.png,1704341034478,a661674dd5f7da22f08a28d437cc8bab6f7ed298bfde10c05e28fa62bbb80f31
ic_switch.png,1704341034478,059ce9d5d85411fb495bba0a838a21dce24088d0f12266a4292883150eb55229
ic_wifi.png,1704341034478,bf642ab386b269f2e6085f967eb6e0cfb24a8ddfeb8ae841efd70e3fac475e3b
ic_siri.png,1704341034478,3f8a68a3179b376d74741dce4821de28d4f5635c5eb39e8dcdd072e8f5805a38
index.html,1705910828078,32dc9b33ff0efff4d563986ba34a4565c982b7504ec9506ef4e4f1b3f0b9fe85
bg_main.png,1704341161248,f58b12558efe230affa9ec91263c33a2ce9cc30dd4683b372ccb317b86af467c
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "direct-by-direct"
}
}
8 changes: 4 additions & 4 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- develop
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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_REACT_PROJECT_23036 }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DIRECT_BY_DIRECT }}'
channelId: live
projectId: react-project-23036
projectId: direct-by-direct
6 changes: 3 additions & 3 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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_REACT_PROJECT_23036 }}'
projectId: react-project-23036
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DIRECT_BY_DIRECT }}'
projectId: direct-by-direct
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lerna-debug.log*
node_modules
dist
dist-ssr
.env
*.local

# Editor directories and files
Expand Down
16 changes: 16 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Loading

0 comments on commit d32d7b0

Please sign in to comment.