Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a CI/CD pipeline to deploy to firebase #30

Open
hkirat opened this issue Jan 3, 2024 · 3 comments
Open

Create a CI/CD pipeline to deploy to firebase #30

hkirat opened this issue Jan 3, 2024 · 3 comments

Comments

@hkirat
Copy link
Owner

hkirat commented Jan 3, 2024

the backend

@hkirat
Copy link
Owner Author

hkirat commented Jan 3, 2024

Assume secrets can be put in github secrets

@initeshjain
Copy link

Source: https://github.com/marketplace/actions/deploy-to-firebase-cloud-functions

.github/workflows/firebase-deploy.yml

Add 2 secrets: FIREBASE_TOKEN and FIREBASE_PROJECT_ID

name: Deploy on Firebase
on:
  push:
    branches:
      - master
jobs:
  main:
    name: Deploy to Firebase
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: jsryudev/[email protected]
      env:
        FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
        FIREBASE_PROJECT: ${{ secrets.FIREBASE_PROJECT_ID }}

@Maniteja0126
Copy link

Maniteja0126 commented May 23, 2024

Hey @hkirat , I've raised a PR for setting up the CI/CD pipeline for Firebase deployment #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants