gpt4 book ai didi

firebase - 为 Firebase 部署单独的 Cloud Function

转载 作者:行者123 更新时间:2023-12-02 19:31:13 28 4
gpt4 key购买 nike

我希望能够为 Firebase 部署单独的 Cloud Function,这样我就不必每次都部署整个项目。

没有通过 CLI 的选项,但如果 Google 或 Firebase 公开了一个 REST API 或其他一些接口(interface)来简化此操作,那就太好了。

最佳答案

CLI 提供了部署单个函数的功能:

firebase deploy --only functions:myFunction

或函数列表:

firebase deploy --only functions:myFuncA,functions:myFuncB,functions:myFuncC

了解更多详情:

firebase deploy --help

关于firebase - 为 Firebase 部署单独的 Cloud Function,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44120935/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com