Update derivatives.ts (#62) #164
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 API to Firebase on merge | |
"on": | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@master | |
with: | |
node-version: "16.x" | |
- name: Installing Function Dependencies | |
run: npm install | |
working-directory: api/functions | |
- name: Install Firebase Tools | |
run: npm install -g firebase-tools | |
working-directory: api | |
- name: Deploying to Firebase | |
run: firebase deploy --token "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" | |
working-directory: api |