Skip to content

Merge pull request #34 from PaulSpringerMI4People/new-model-2024 #30

Merge pull request #34 from PaulSpringerMI4People/new-model-2024

Merge pull request #34 from PaulSpringerMI4People/new-model-2024 #30

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build App - Cache Dependencies
uses: actions/setup-node@v3
with:
cache: 'npm'
cache-dependency-path: covision-app/package-lock.json
- name: Build App - Install Dependencies
run: cd ./covision-app && npm ci
- name: Build App - Run Build Script
run: cd ./covision-app && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_COVISIONAPP }}'
channelId: live
projectId: covisionapp