Skip to content

Commit

Permalink
firebase hosting test
Browse files Browse the repository at this point in the history
  • Loading branch information
VinamraSaurav committed May 28, 2024
1 parent 547042e commit 46e37f4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
6 changes: 1 addition & 5 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"projects": {
"staging": "promptgpt-1",
"default": "promptgpt-1"
},
"targets": {},
"etags": {},
"dataconnectEmulatorConfig": {}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm run build
- run: npm ci & npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm run build
- run: npm ci & npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
Expand Down
11 changes: 4 additions & 7 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"hosting": {
"public": "public",
"source": ".",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
"frameworksBackend": {
"region": "asia-east1"
}
}
}

0 comments on commit 46e37f4

Please sign in to comment.