I currently work with 1st gen functions and successfully deploy using Cloud Source Repositories to connect the function to a Github repo, push code changes to the repo and then deploy the cloud function.
I have now built a 2nd generation function and have realized that the option to deploy from a cloud source repository doesn't exist for 2nd gen functions - as mentioned here - what are the steps I need to take to follow a similar workflow for a 2nd gen function?
Deploying functions from Cloud Source Repositories is currently only supported in Cloud Functions (1st gen).Gen 2 functions have limited source repository support and thus cannot deploy below the top level of a Cloud Source Repository.
As deploying from Cloud Source Repositories is not supported for gen 2 functions there is a bug raised for this at issue tracker ,Which is still open further progress can be tracked there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With