【发布时间】:2022-01-08 14:09:58
【问题描述】:
我使用 typescript 和 @google-cloud/functions-framework 编写了一个云函数。我目前的工作流程是npm install、tsc(打字稿编译),然后是functions-framework --source=build/src/ --target=index。然后我可以访问http://localhost:8080/ 来运行我的函数。
在 GCP 上镜像我的 GitHub 存储库后,如何获取我的代码来构建和重新部署未来的提交?
【问题讨论】:
-
嗨@abc,我的回答对你有帮助吗?
-
Idk 我决定只使用 firebase 函数
标签: typescript google-cloud-platform google-cloud-functions google-cloud-build