Skip to content

Merge pull request #144 from porfanid/dependabot/npm_and_yarn/FrontEn… #182

Merge pull request #144 from porfanid/dependabot/npm_and_yarn/FrontEn…

Merge pull request #144 from porfanid/dependabot/npm_and_yarn/FrontEn… #182

name: Backend Deployment
on:
push:
branches:
- main # Modify this branch name if needed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set Up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install Dependencies
run: npm install
working-directory: ./BackEnd
- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_QUESTMATCH2023 }}"
projectId: questmatch2023
channelId: live
entryPoint: "./BackEnd"