Skip to content

fix: classroom card spacing #1093

fix: classroom card spacing

fix: classroom card spacing #1093

Workflow file for this run

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy frontend to Firebase Hosting Preview Channel
on:
# pull_request_target grants read/write permissions, needed by
# the firebase deployment action
# this is safe because we explicitly disable running checks on forks
pull_request_target:
paths:
- 'frontend/**'
defaults:
run:
working-directory: frontend
jobs:
build_and_preview:
# If the PR is coming from a fork (pull_request_target), ensure it's opened by "dependabot[bot]"
if: ${{ github.actor == 'dependabot[bot]' || !github.event.pull_request.head.repo.fork }}
runs-on: ubuntu-latest
steps:
- name: Checkout
if: ${{ github.event_name != 'pull_request_target' }}
uses: actions/checkout@v3
- name: Checkout PR
if: ${{ github.event_name == 'pull_request_target' }}
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: echo "REACT_APP_BACKEND_URL=${{ secrets.PREVIEW_BACKEND_URL }}" > .env
- run: rm -rf node_modules && yarn install --frozen-lockfile && yarn build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_JUMP_MATH_98EDF }}'
projectId: '${{ secrets.DEV_PROJECT_ID }}'
target: staging
entryPoint: ./frontend