Skip to content

fix: added access-control-allow-origin header to auth routes (#299) #155

fix: added access-control-allow-origin header to auth routes (#299)

fix: added access-control-allow-origin header to auth routes (#299) #155

# This file was based on content auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy frontend to Firebase Hosting on merge to dev
on:
push:
branches:
- dev
paths:
- "frontend/**"
jobs:
build_and_deploy:
runs-on: ubuntu-latest
environment: fon-staging
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/firebase-hosting
with:
channel-id: live
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