diff --git a/.firebaserc b/.firebaserc index 7f09b5a..ab1c677 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,5 +1,6 @@ { "projects": { - "default": "miti99" + "miti99": "miti99", + "tiennm99": "tiennm99" } } diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-miti99.yml similarity index 73% rename from .github/workflows/firebase-hosting-merge.yml rename to .github/workflows/firebase-hosting-miti99.yml index 1304a40..7d08474 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-miti99.yml @@ -1,7 +1,4 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on merge +name: Deploy to Firebase Hosting (miti99) on: push: branches: diff --git a/.github/workflows/firebase-hosting-tiennm99.yml b/.github/workflows/firebase-hosting-tiennm99.yml new file mode 100644 index 0000000..a7b27f6 --- /dev/null +++ b/.github/workflows/firebase-hosting-tiennm99.yml @@ -0,0 +1,16 @@ +name: Deploy to Firebase Hosting (tiennm99) +on: + push: + branches: + - main +jobs: + build_and_deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: ${{ secrets.GITHUB_TOKEN }} + firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_TIENNM99 }} + channelId: live + projectId: tiennm99