Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Shigaki committed Sep 9, 2024
2 parents f7f498d + 44477ba commit d4c61b1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/firebase-functions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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: Install Dependencies
run: npm install

- name: Deploy Firebase Functions
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
run: firebase deploy --only functions --token "$FIREBASE_TOKEN"

0 comments on commit d4c61b1

Please sign in to comment.