Skip to content

build(deps): bump react-router from 5.3.4 to 6.24.0 in /frontend #87

build(deps): bump react-router from 5.3.4 to 6.24.0 in /frontend

build(deps): bump react-router from 5.3.4 to 6.24.0 in /frontend #87

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy Frontend - PR Preview
on: pull_request
jobs:
build_and_preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v3
# Use dev environment so the preview uses the dev server
- run: npm ci && npx env-cmd -f .env.dev npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_SECRET_HITLER_ONLINE }}"
projectId: secret-hitler-online
# no channelId, so deploys to a preview channel
entryPoint: ./frontend