运行 firebase deploy --only functions
在创建新函数之前删除现有函数。是否可以将此行为修改为 create if not exist, update if exists, no actions if functions not being deployed
?
最佳答案
您可以使用 Firebase partial deploys
$ firebase deploy --only functions:makeUppercase
只会部署
makeUppercase
功能。希望能帮助到你。
注意:要一次部署多个功能(但不是全部),请使用:
$ firebase deploy --only functions:function1,functions:function2
关于function - firebase deploy --only 函数覆盖现有函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42746548/