Merge pull request #2852 from gdg-x/dependabot/npm_and_yarn/protobufj… #653
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Create temp serviceAccount.json | |
run: echo "{}" > serviceAccount.json | |
- run: npm ci | |
- run: npm run build | |
- uses: w9jds/firebase-action@v11.30.1 | |
with: | |
args: deploy | |
env: | |
# See docs/tutorials/04-deploy.md for configuring these | |
PROJECT_ID: hoverboard-master | |
GCP_SA_KEY: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_HOVERBOARD_MASTER }} |