Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Functions - Can I deploy code from a different GCP project repo into a Cloud Function?

I would like to deploy a Google Cloud Function in project A, but I would like the source files to be those that I have sitting in a Google Cloud Source Repository in project B. Is this possible?

Thanks,

like image 217
Balkan Avatar asked Oct 17 '22 12:10

Balkan


1 Answers

You should be able to specify from which source repository you want to get the code.

Make sure that you have set up the proper permissions to access the repository.

like image 59
Mangu Avatar answered Nov 15 '22 09:11

Mangu