Skip to content

Updated documentation #229

Updated documentation

Updated documentation #229

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy frontend to Firebase Hosting preview
on:
pull_request:
paths:
- "frontend/**"
defaults:
run:
working-directory: frontend
jobs:
build_and_preview:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository && github.base_ref == 'main' }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo "REACT_APP_BACKEND_URL=${{ secrets.PREVIEW_BACKEND_URL }}" > .env
auth {

Check failure on line 22 in .github/workflows/firebase-hosting-pull-request.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/firebase-hosting-pull-request.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- run: echo "REACT_APP_OAUTH_CLIENT_ID=${{ secrets.DEV_OAUTH_CLIENT_ID }}" >> .env
} auth
- 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_UW_BLUEPRINT_STARTER_CODE }}"
projectId: "${{ secrets.DEV_PROJECT_ID }}"
entryPoint: ./frontend