From 5d816b01426f861e266baaf5a65cd0fb72ab3c00 Mon Sep 17 00:00:00 2001 From: aamoghS Date: Wed, 13 May 2026 00:02:47 -0400 Subject: [PATCH] fix: scope firebase hosting deploy to hacklytics target only --- .firebaserc | 9 +++++++++ .github/workflows/firebase-hosting-merge.yml | 1 + .github/workflows/firebase-hosting-pull-request.yml | 1 + firebase.json | 2 +- 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.firebaserc b/.firebaserc index 103f4582..56aa143f 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,5 +1,14 @@ { "projects": { "default": "dsgt-website" + }, + "targets": { + "dsgt-website": { + "hosting": { + "hacklytics": [ + "hacklytics2027" + ] + } + } } } diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 89fbfc7d..af6cabf7 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -29,5 +29,6 @@ jobs: with: repoToken: ${{ secrets.GITHUB_TOKEN }} firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DSGT_WEBSITE }} + target: hacklytics channelId: live projectId: dsgt-website diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 0aaab643..a340af4d 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -31,4 +31,5 @@ jobs: with: repoToken: ${{ secrets.GITHUB_TOKEN }} firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DSGT_WEBSITE }} + target: hacklytics projectId: dsgt-website diff --git a/firebase.json b/firebase.json index 258a9856..9c0840e7 100644 --- a/firebase.json +++ b/firebase.json @@ -21,7 +21,7 @@ "trailingSlash": true }, { - "site": "hacklytics2027", + "target": "hacklytics", "public": "sites/hacklytics2027/out", "cleanUrls": true, "trailingSlash": true