Add form validation to email in registration #355
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
# 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 |