Merge pull request #916 from cornell-dti/eric/fix_ui #383
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: 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 |