Skip to content

Catherine derrick/error banner and coupon display #363

Catherine derrick/error banner and coupon display

Catherine derrick/error banner and coupon display #363

# This file was based on content auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy frontend to Firebase Hosting preview
on:
pull_request:
paths:
- "frontend/**"
jobs:
build_and_preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository && github.base_ref == 'dev' }}"
runs-on: ubuntu-latest
environment: fon-preview
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/firebase-hosting
with:
backend-url: "${{ secrets.PREVIEW_BACKEND_URL }}"
oauth-client-id: "${{ secrets.OAUTH_CLIENT_ID }}"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
firebase-service-account: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_FOCUS_ON_NATURE }}"
firebase-project-id: "${{ secrets.FIREBASE_PROJECT_ID }}"
target: staging