From 26dadafb90453c44a974e1a2e1c46ef08e97a95e Mon Sep 17 00:00:00 2001 From: Yash Maheshwari Date: Tue, 21 Nov 2023 18:14:44 +0530 Subject: [PATCH] Implemented: configuration file to deply dev on merge and updated firebase config entries --- .firebaserc | 4 ++-- .github/workflows/firebase-hosting-merge.yml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/firebase-hosting-merge.yml diff --git a/.firebaserc b/.firebaserc index 56424d47..fea876ce 100644 --- a/.firebaserc +++ b/.firebaserc @@ -7,10 +7,10 @@ "hotwax-digital-commerce": { "hosting": { "dev": [ - "dev-facilities" + "hotwax-facilities-dev" ], "uat": [ - "uat-facilities" + "hotwax-facilities-uat" ] } }, diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml new file mode 100644 index 00000000..6cf9fc9e --- /dev/null +++ b/.github/workflows/firebase-hosting-merge.yml @@ -0,0 +1,16 @@ +# This file was auto-generated by the Firebase CLI +# https://github.com/firebase/firebase-tools + +name: Deploy to Firebase Hosting on merge +'on': + push: + branches: + - main +jobs: + call-workflow-in-another-repo: + uses: hotwax/dxp-components/.github/workflows/common-firebase-hosting-merge.yml@main + with: + config-path: .github/labeler.yml + secrets: + envPAT: ${{ secrets.envPAT }} + HOTWAX_PUBLIC_SECRET: ${{ secrets.HOTWAX_PUBLIC_SECRET }} \ No newline at end of file