Skip to content

Create firebase-functions.yml #1

Create firebase-functions.yml

Create firebase-functions.yml #1

name: Firebase Functions CI/CD
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Firebase Tools
run: npm install -g firebase-tools
- name: Authenticate with Firebase
run: firebase login:ci --no-localhost --token ${{ secrets.FIREBASE_TOKEN }}
- name: Install Dependencies
run: npm install
- name: Deploy Firebase Functions
run: firebase deploy --only functions