diff --git a/.firebaserc b/.firebaserc index c5b3b7c..67c38bf 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,9 +1,5 @@ { "projects": { - "staging": "promptgpt-1", "default": "promptgpt-1" - }, - "targets": {}, - "etags": {}, - "dataconnectEmulatorConfig": {} + } } diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index b18b102..7f250ee 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -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 }} diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index d0a4da5..b4cab89 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -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 }} diff --git a/firebase.json b/firebase.json index 93fb369..461fe72 100644 --- a/firebase.json +++ b/firebase.json @@ -1,16 +1,13 @@ { "hosting": { - "public": "public", + "source": ".", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], - "rewrites": [ - { - "source": "**", - "destination": "/index.html" - } - ] + "frameworksBackend": { + "region": "asia-east1" + } } }