diff --git a/.firebaserc b/.firebaserc index cad1450e..a0cda7ac 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,5 +1,6 @@ { "projects": { - "default": "community-cookbook-staging" + "default": "community-cookbook-staging", + "prod": "community-cookbook-59807" } } diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index b625be62..aed033fa 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -3,6 +3,11 @@ on: pull_request: workflow_dispatch: +permissions: + checks: write + contents: read + pull-requests: write + jobs: build_and_preview: env: diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 25ca469f..e4bee2c8 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -32,9 +32,9 @@ jobs: - uses: matter-labs/action-hosting-deploy@main with: repoToken: "${{ secrets.GITHUB_TOKEN }}" - firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_COMMUNITY_COOKBOOK }}" + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_COMMUNITY_COOKBOOK_59807 }}" target: prod - projectId: community-cookbook + projectId: community-cookbook-59807 channelId: live # TODO: re-enable once we are closer to production deployment diff --git a/bun.lockb b/bun.lockb index fe221d5e..2b4c7151 100755 Binary files a/bun.lockb and b/bun.lockb differ