Skip to content

Nutrislice integration #294

Nutrislice integration

Nutrislice integration #294

name: Deploy to Firebase Hosting on PR
on:
pull_request:
paths:
- "client/**"
- "shared/**"
- "firebase.json" # Assume most `firebase.json` changes are hosting rewrites edits
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && cd client && CI=false npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_GUNNWATT }}'
projectId: gunnwatt