Add a GitHub Action to automatically deploy Firebase Cloud Functions after every merge into main branch where a change in the functions/ directory is observed, i.e. run when a PR is merged into main branch which has some changes in the functions/ directory. Reference: https://davelms.medium.com/deploy-firebase-functions-using-github-actions-7dbafbd4df77
Overview
Add GitHub Actions to streamline the continuous deployment and integrations.
main
branch, i.e. run when a PR is created that targets merging into themain
branch. Reference: https://levelup.gitconnected.com/strengthen-a-react-application-with-github-and-github-actions-62977a781b37main
branch where a change in thefunctions/
directory is observed, i.e. run when a PR is merged intomain
branch which has some changes in thefunctions/
directory. Reference: https://davelms.medium.com/deploy-firebase-functions-using-github-actions-7dbafbd4df77