[英]MacOS X - Change local Firebase deploy directory
How can we change the directory Firebase deploys to for a specific project? 我们如何更改Firebase为特定项目部署的目录?
I want to be able to deploy multiple Firebase projects to different directories. 我希望能够将多个Firebase项目部署到不同的目录。 Is this possible?
这可能吗? Couldn't find any references in the documentation.
在文档中找不到任何引用。
You can determine what directory the Firebase CLI deploys to Firebase Hosting by changing the public
property in the firebase.json
file in that directory. 您可以通过更改该目录中
firebase.json
文件中的public
属性来确定Firebase CLI部署到Firebase Hosting的目录。
See the Firebase Hosting reference docs : 请参阅Firebase托管参考文档 :
"public": "app"
required - The
public
setting tells thefirebase
command which directory to upload to Firebase Hosting.required -
public
设置告诉firebase
命令将哪个目录上载到Firebase Hosting。 This directory must be inside the project directory and must exist.该目录必须位于项目目录中且必须存在。 The default value is a directory named "public"
默认值是名为“public”的目录
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.