Can we publish our Google cloud function at some common place or in google market place, so that the customers of our client can access it and use it ? or we can just deploy it using the conventional deployment through git repo or something like that ?
You can create zip bundle of your code (main.py,requirements.txt ..etc) and can deploy using git repo, or source code repo.
Please find below
refer this link-
https://cloud.google.com/functions/docs/deploy
In addition to @VishalBulbule ... this looks somewhat interesting:
google-github-actions/deploy-cloud-functions
It appears that we can associate a Github action with the deployment of a cloud function.