Skip to content

changelog:

changelog: #6

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on PR
on:
pull_request:
branches:
- master
jobs:
build_and_preview:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.base.ref == 'master' }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies and build
run: |
npm ci
npm run build
# - name: Deploy to Firebase Hosting
# uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: ${{ secrets.GITHUB_TOKEN }}
# firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_ORCHID_APP_7FE3D }}
# projectId: orchid-app-7fe3d