Skip to content

Deploy client to Firebase Hosting on PR #41

Deploy client to Firebase Hosting on PR

Deploy client to Firebase Hosting on PR #41

# 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_ENV: production
jobs:
Build-And-Preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
steps:
- 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