Skip to content

Merge pull request #135 from 2ajoyce/dependabot/npm_and_yarn/vitejs/p… #111

Merge pull request #135 from 2ajoyce/dependabot/npm_and_yarn/vitejs/p…

Merge pull request #135 from 2ajoyce/dependabot/npm_and_yarn/vitejs/p… #111

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Prod
'on':
push:
branches:
- main
jobs:
deploy:
environment:
name: Prod
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Dependancies
run: npm install --legacy-peer-deps # Remove this flag once eslint flat config is no longer breaking peer dependencies
- name: Build Application
run: npm run build
env:
VITE_P2P_SERVER_URI: ${{ secrets.P2P_SERVER_URI }}
VITE_P2P_SERVER_KEY: ${{ secrets.P2P_SERVER_KEY }}
- name: Deploy Application
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_MADLIBS_408303 }}'
channelId: live
projectId: madlibs-408303