From bfbdd93d3d866b4088c9e0ea0ba2d15789dd6b4d Mon Sep 17 00:00:00 2001 From: Benson Cho <100653148+bcho892@users.noreply.github.com> Date: Sun, 14 Jul 2024 20:30:26 +1200 Subject: [PATCH] Swap back to firebase hosting for prod (#634) * change workflow to use firebase instead * remove base path --- .github/workflows/deploy-client-production.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-client-production.yml b/.github/workflows/deploy-client-production.yml index bfd562c72..38de72f6e 100644 --- a/.github/workflows/deploy-client-production.yml +++ b/.github/workflows/deploy-client-production.yml @@ -12,7 +12,6 @@ env: NEXT_PUBLIC_BACKEND_BASE_URL: ${{secrets.PROD_BACKEND_BASE_URL}} NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID: ${{secrets.PROD_MEASUREMENT_ID}} NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: ${{secrets.PROD_STRIPE_PK}} - DEPLOYMENT_BASE_PATH: ${{secrets.GH_PAGES_BASE_PATH}} NEXT_PUBLIC_SANITY_PROJECT_ID: ${{secrets.PROD_SANITY_PROJECT_ID}} NEXT_PUBLIC_SANITY_DATASET: production NEXT_CONFIG_ENV: production @@ -30,7 +29,10 @@ jobs: - run: yarn workspaces focus client && yarn workspace client build - - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@v4 + - uses: FirebaseExtended/action-hosting-deploy@v0 with: - folder: client/out # The folder the action should deploy. + repoToken: "${{ secrets.GITHUB_TOKEN }}" + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_UASC_PROD }}" + channelId: live + projectId: uasc-prod + entryPoint: client