Getting a secret .json file through your workflow, piplines, and onto your servers is a pretty complicated task. To simpilify the process, you can store the contents of the secret.json in env
instead.
Written in the content of firebase-admin
for Node
.
-
Make the contents of your GOOGLE_APPLICATION_CREDENTIALS file one line and add it to
env
asGOOGLE_APPLICATION_CREDENTIALS
.
{"type": "service_account",