Skip to content

Commit

Permalink
Solving bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-muganga committed Apr 20, 2024
1 parent 7d258db commit 72316c4
Show file tree
Hide file tree
Showing 18 changed files with 381 additions and 111 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 @@
weather-svgrepo-com.svg,1713467456584,b5ef9675393b62be946cf1635266f65b6e2520235befc8b8a7a6b43a7893e280
index.html,1713471967482,06adbed1124a5e9c31b4297e219a967562d2f6c0306347848f68aa1c9d32ab5b
assets/index-BEli0i5a.css,1713471967482,9a675d403d0867e56dabe124867d89aa2d5354bb1f7532bc8d57795f5b9bc402
assets/mountain-CPGhdAE3.jpg,1713471967482,833c74bff9365a206ad53364f7ffa8f6815c554a5891c98c266960f5f1cc1bc7
assets/cloudy-sky-from-above-B2n94znt.jpg,1713471967482,721494ff5059154314a2df30b9abe4641d55082cb77bdab9a7017184500aa38e
assets/index-DCDJ4Ley.js,1713471967482,c2eceb6b33fe57c4f7e16e8094bb0b6784a955860982ebdda09ed9d43e7bfdef
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "weatherapp-eric-muganga"
}
}
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 run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEATHERAPP_ERIC_MUGANGA }}
channelId: live
projectId: weatherapp-eric-muganga
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 run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEATHERAPP_ERIC_MUGANGA }}
projectId: weatherapp-eric-muganga
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"
}
]
}
}
131 changes: 122 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-redux": "^9.1.1",
"react-router-dom": "^6.22.3"
"react-responsive-carousel": "^3.2.23",
"react-router-dom": "^6.22.3",
"react-select": "^5.8.0",
"react-slick": "^0.30.2",
"slick-carousel": "^1.8.1"
},
"devDependencies": {
"@types/react": "^18.2.66",
Expand Down
1 change: 0 additions & 1 deletion src/assets/react.svg

This file was deleted.

Loading

0 comments on commit 72316c4

Please sign in to comment.