Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase Hosting deploy only to sub directory [duplicate]

I'd like to know that can "Firebase deploy" make update only for the sub directory inside root?

my structure

/public (index.html,other 100+ files)
/public/data (require.json) ::only 1 file

The problem is I need to update(deploy) only 1 file, "/public/data/require.json" about every hour. But when deploy, all data(& folders) inside public folder is updated and consuming too much cost.

Is there anyway to update only 1 specific folder or file inside webroot. Thank you.

like image 677
Leonar Aung Avatar asked Apr 26 '18 15:04

Leonar Aung


1 Answers

The Firebase CLI can currently only deploy the entire web site. You cannot update a subset of the files.

It is a great feature request though and we've gotten it before. If you'd like to weigh in/cast your vote, I'd recommend you file a feature request.

like image 88
Frank van Puffelen Avatar answered Nov 11 '22 09:11

Frank van Puffelen