Skip to content

Merge pull request #916 from cornell-dti/eric/fix_ui #383

Merge pull request #916 from cornell-dti/eric/fix_ui

Merge pull request #916 from cornell-dti/eric/fix_ui #383

Workflow file for this run

name: CD
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: "^18.20.0"
- name: Install
run: yarn install
- name: Build Client
env:
REACT_APP_API_KEY: ${{ secrets.REACT_TEST_API_KEY }}
NODE_OPTIONS: "--max-old-space-size=2048"
run: yarn build:staging
- name: Deploy Client
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: |
yarn firebase use default
yarn firebase deploy --token "$FIREBASE_TOKEN" --non-interactive --only hosting