From f1c1b6aa2c890466ab8a442c78d55df5df5b1fa9 Mon Sep 17 00:00:00 2001 From: Cristian Hernandez Date: Thu, 21 Nov 2024 08:35:56 -0800 Subject: [PATCH] Bring back dev config for development branch --- .github/workflows/firebase-hosting-merge.yml | 8 ++++---- .github/workflows/firebase-hosting-pull-request.yml | 6 +++--- firebase.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 47b55a1..c5961ec 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -6,10 +6,10 @@ name: Deploy to Firebase Hosting on merge on: push: branches: - - sandbox + - development jobs: build_and_deploy: - environment: sandbox + environment: development runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -45,6 +45,6 @@ jobs: - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: ${{ secrets.GITHUB_TOKEN }} - firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_SANDBOX_422814 }} + firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_DEV_402917 }} channelId: live - projectId: my-account-sandbox-422814 + projectId: my-account-dev-402917 diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 89f3784..a60036c 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -14,7 +14,7 @@ jobs: if: '${{ github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft == false }}' runs-on: ubuntu-latest - environment: sandbox + environment: development steps: - uses: actions/checkout@v4 # https://github.com/marketplace/actions/flutter-action @@ -49,6 +49,6 @@ jobs: - uses: FirebaseExtended/action-hosting-deploy@v0 with: repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_SANDBOX_422814 }} - projectId: my-account-sandbox-422814 + firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_MY_ACCOUNT_DEV_402917 }} + projectId: my-account-dev-402917 diff --git a/firebase.json b/firebase.json index 705f99a..54d5d16 100644 --- a/firebase.json +++ b/firebase.json @@ -1,6 +1,6 @@ { "hosting": { - "target": "angeleno-my-account-sandbox-422814", + "target": "angeleno-my-account-dev-402917", "public": "build/web", "ignore": [ "firebase.json",