Skip to content

Add firefile and update vercel command #7

Add firefile and update vercel command

Add firefile and update vercel command #7

Workflow file for this run

name: Deploy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v4.0.0
- name: Cache Node modules
uses: actions/cache@v3
with:
path: ~/.node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: yarn && yarn add vercel
- name: Add firefile
run: echo ${{ secrets.FIREFILE }} >> ./firebase.json && ls
# - name: Build
# run: yarn run build
- name: Deploy
run: vercel --token ${{ secrets.VERCEL_AUTH }} --yes