Merge pull request #3374 from gdg-x/dependabot/github_actions/actions… #950
This file contains hidden or 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@v5 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - 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 }} |