Skip to content

Commit

Permalink
Swap back to firebase hosting for prod (#634)
Browse files Browse the repository at this point in the history
* change workflow to use firebase instead

* remove base path
  • Loading branch information
choden-dev authored Jul 14, 2024
1 parent f49ab36 commit bfbdd93
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/deploy-client-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit bfbdd93

Please sign in to comment.