From bababecc6bce5a5053a302ec043821eb7ff598e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20=C5=A0imon=C3=ADk?= Date: Mon, 18 Dec 2023 19:41:51 +0100 Subject: [PATCH 1/3] config: update project and ci to new project --- .firebaserc | 4 ++-- .github/workflows/firebase-hosting-merge.yml | 2 +- .github/workflows/firebase-hosting-production-merge.yml | 2 +- .github/workflows/firebase-hosting-pull-request.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.firebaserc b/.firebaserc index ebc05b1..1bca657 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,6 +1,6 @@ { "projects": { - "default": "gug-web" + "default": "gug-web-2023" }, "targets": { "gug-web": { @@ -9,7 +9,7 @@ "staging-gug" ], "production":[ - "public-gug" + "public-gug" ] } } diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 0fc996d..fe873ed 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -17,7 +17,7 @@ jobs: - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}' channelId: live target: staging projectId: gug-web diff --git a/.github/workflows/firebase-hosting-production-merge.yml b/.github/workflows/firebase-hosting-production-merge.yml index fcea798..21bec1b 100644 --- a/.github/workflows/firebase-hosting-production-merge.yml +++ b/.github/workflows/firebase-hosting-production-merge.yml @@ -17,7 +17,7 @@ jobs: - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}' channelId: live target: production projectId: gug-web diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 0501bd1..b0a4d1a 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -14,7 +14,7 @@ jobs: - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}' projectId: gug-web target: staging expires: 7d From db2c63c0f9fee3a7f2817880c5d15bd7f65e4ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20=C5=A0imon=C3=ADk?= Date: Mon, 18 Dec 2023 19:50:00 +0100 Subject: [PATCH 2/3] config: update firebase targets --- .firebaserc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.firebaserc b/.firebaserc index 1bca657..6f08c5b 100644 --- a/.firebaserc +++ b/.firebaserc @@ -3,15 +3,16 @@ "default": "gug-web-2023" }, "targets": { - "gug-web": { + "gug-web-2023": { "hosting": { "staging": [ - "staging-gug" + "staging-gug-web" ], - "production":[ - "public-gug" + "production": [ + "gug-web-2023" ] - } } } - } + }, + "etags": {} +} \ No newline at end of file From 51de84b358fca2ad2dd1f67e9ebea433aa35679d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20=C5=A0imon=C3=ADk?= Date: Mon, 18 Dec 2023 19:52:59 +0100 Subject: [PATCH 3/3] ci: update firebase project id --- .github/workflows/firebase-hosting-merge.yml | 2 +- .github/workflows/firebase-hosting-production-merge.yml | 2 +- .github/workflows/firebase-hosting-pull-request.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index fe873ed..b857282 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -20,6 +20,6 @@ jobs: firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}' channelId: live target: staging - projectId: gug-web + projectId: gug-web-2023 env: FIREBASE_CLI_PREVIEWS: hostingchannels diff --git a/.github/workflows/firebase-hosting-production-merge.yml b/.github/workflows/firebase-hosting-production-merge.yml index 21bec1b..2d489d8 100644 --- a/.github/workflows/firebase-hosting-production-merge.yml +++ b/.github/workflows/firebase-hosting-production-merge.yml @@ -20,6 +20,6 @@ jobs: firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}' channelId: live target: production - projectId: gug-web + projectId: gug-web-2023 env: FIREBASE_CLI_PREVIEWS: hostingchannels diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index b0a4d1a..6201cae 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -15,7 +15,7 @@ jobs: with: repoToken: '${{ secrets.GITHUB_TOKEN }}' firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUG_WEB_2023 }}' - projectId: gug-web + projectId: gug-web-2023 target: staging expires: 7d env: