From 68255c93584e30035fb4da5a3291cc33d7b772b1 Mon Sep 17 00:00:00 2001 From: Koji Wakamiya Date: Sun, 31 Dec 2023 14:50:08 +0900 Subject: [PATCH 1/3] feat: enable webframeworks --- firebase.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firebase.json b/firebase.json index 6603732..5754ca3 100644 --- a/firebase.json +++ b/firebase.json @@ -1,6 +1,6 @@ { "hosting": { - "public": "build/web", + "source": "build/web", "ignore": [ "firebase.json", "**/.*", From db659b2d2d9d531720c097cb772da52714e6b08a Mon Sep 17 00:00:00 2001 From: Koji Wakamiya Date: Sun, 31 Dec 2023 15:00:57 +0900 Subject: [PATCH 2/3] feat: set webframeworks flag --- .github/workflows/deploy.yml | 2 ++ .github/workflows/pull_request.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5cf0edd..d2b3f32 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,3 +29,5 @@ jobs: repoToken: "${{ secrets.GITHUB_TOKEN }}" projectId: default channelId: live + env: + FIREBASE_CLI_EXPERIMENTS: webframeworks diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 33b1c1b..a92600f 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -41,3 +41,5 @@ jobs: firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" repoToken: "${{ secrets.GITHUB_TOKEN }}" projectId: default + env: + FIREBASE_CLI_EXPERIMENTS: webframeworks From 96a18560be9de2fbee067e5102ca24f9bb529db4 Mon Sep 17 00:00:00 2001 From: Koji Wakamiya Date: Sun, 31 Dec 2023 15:19:35 +0900 Subject: [PATCH 3/3] chore: Update firebase.json --- firebase.json | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/firebase.json b/firebase.json index 5754ca3..461fe72 100644 --- a/firebase.json +++ b/firebase.json @@ -1,16 +1,13 @@ { "hosting": { - "source": "build/web", + "source": ".", "ignore": [ "firebase.json", "**/.*", "**/node_modules/**" ], - "rewrites": [ - { - "source": "**", - "destination": "/index.html" - } - ] + "frameworksBackend": { + "region": "asia-east1" + } } }