Upload one file to firebase hosting via CLI or others without deleting existing ones?

Question:

How to upload a single file to firebase without deleting existing files?

Details:

  • Purpose: uploading a single file without deleting existing files on the server

  • Usage: have separate directories on the local computer, each of which is loaded into a specific folder on the server

  • What I tried: overriding the public dir with firebase deploy -p file.txt, this results in the root public dir parameter being used to install this directory.

+11
source share
1 answer

Disclosure: I work in Firebase

Firebase , - , , .

, , , - .

, , .

( 2018 .): Firebase Hosting REST API. , , , . : https://gist.github.com/puf/e00c34dd82b35c56e91adbc3a9b1c412

+7

All Articles