Merge pull request #2907 from gdg-x/dependabot/npm_and_yarn/rollup-2d… #684
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@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Create temp serviceAccount.json | |
run: echo "{}" > serviceAccount.json | |
- run: npm ci | |
- run: npm run build | |
- uses: w9jds/[email protected] | |
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 }} |