Skip to content

Update index.html (#109) #88

Update index.html (#109)

Update index.html (#109) #88

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Firebase Hosting on merge
on:
push:
branches:
- master
env:
REACT_APP_APIKEY: '${{ secrets.REACT_APP_APIKEY }}'
REACT_APP_AUTHDOMAIN: '${{ secrets.REACT_APP_AUTHDOMAIN }}'
REACT_APP_PID: '${{ secrets.REACT_APP_PID }}'
REACT_APP_SB: '${{ secrets.REACT_APP_SB }}'
REACT_APP_SID: '${{ secrets.REACT_APP_SID }}'
REACT_APP_APPID: '${{ secrets.REACT_APP_APPID }}'
REACT_APP_MID: '${{ secrets.REACT_APP_MID }}'
REACT_APP_RECAPTCHA_SITE_KEY: '${{ secrets.REACT_APP_RECAPTCHA_SITE_KEY }}'
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_LULLULAND_2CE97 }}'
channelId: live
projectId: '${{ secrets.REACT_APP_PID }}'