Skip to content

Added method to retrieve products from Stripe #88

Added method to retrieve products from Stripe

Added method to retrieve products from Stripe #88

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy client to Firebase Hosting on PR
"on": pull_request
env:
VITE_FIREBASE_API_KEY: ${{secrets.VITE_FIREBASE_API_KEY}}
VITE_FIREBASE_AUTH_DOMAIN: ${{secrets.VITE_FIREBASE_AUTH_DOMAIN}}
VITE_FIREBASE_PROJECT_ID: ${{secrets.VITE_FIREBASE_PROJECT_ID}}
VITE_FIREBASE_STORAGE_BUCKET: ${{secrets.VITE_FIREBASE_STORAGE_BUCKET}}
VITE_FIREBASE_MESSAGING_SENDER_ID: ${{secrets.VITE_FIREBASE_MESSAGING_SENDER_ID}}
VITE_FIREBASE_APP_ID: ${{secrets.VITE_FIREBASE_APP_ID}}
VITE_BACKEND_BASE_URL: ${{secrets.VITE_BACKEND_BASE_URL}}
VITE_ENV: production
jobs:
Build-And-Preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
steps:
- name: Enable corepack
run: corepack enable
- uses: actions/checkout@v3
- run: cd client && yarn && yarn run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_UASC_CEEBC }}"
projectId: uasc-ceebc
entryPoint: client