use typed firestore accessors #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Firebase Hosting | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- "frontend/**" | |
- "functions/**" | |
- "firebase.json" | |
- ".firebaserc" | |
jobs: | |
build_and_preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm ci && npm run build | |
working-directory: ./frontend | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_WAITLIST_WATCHER }}' | |
projectId: waitlist-watcher | |
channelId: live | |
entrypoint: ./frontend/ | |
- name: Deploy Firebase Functions | |
uses: w9jds/firebase-action@master | |
with: | |
args: deploy --only functions | |
env: | |
GCP_SA_KEY: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_WAITLIST_WATCHER }}' |