Skip to content

Commit

Permalink
use next js loader
Browse files Browse the repository at this point in the history
  • Loading branch information
odaytelbany committed Aug 26, 2023
1 parent 554b1a9 commit f6cce43
Show file tree
Hide file tree
Showing 9 changed files with 321 additions and 54 deletions.
4 changes: 4 additions & 0 deletions .firebase/hosting.cHVibGlj.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
vercel.svg,1690316001629,1c03fbc03ff9ecf3469972d378778b1aea296f8ab9cb540af9d42c7848f52888
index.html,1692851621949,f1f13b5d260fa4d91887f429f26a1079584747d6b90ea69d64dfd52aba65d05e
next.svg,1690316001484,dd6837ad10912a1f5820eb31ad506e500d83be91a8635fcfa59b04d06f671fdc
1f914.png,1681388916839,e520b09bfba6998a20d7f46fd07efa3b516ff386659a796fdc9c387ee8330b26
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "instagram-clone-d3ccd"
}
}
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@v3
- run: npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_INSTAGRAM_CLONE_D3CCD }}'
projectId: instagram-clone-d3ccd
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 f6cce43

Please sign in to comment.