Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching config variables when deploying Firebase Functions #29

Closed
glocore opened this issue Mar 2, 2020 · 4 comments · May be fixed by #114
Closed

Fetching config variables when deploying Firebase Functions #29

glocore opened this issue Mar 2, 2020 · 4 comments · May be fixed by #114

Comments

@glocore
Copy link

glocore commented Mar 2, 2020

The Firebase docs suggests downloading config variables using this command:

firebase functions:config:get > .runtimeconfig.json

This allows accessing the config variables inside JavaScript using functions.config()

I was wondering if and how this command can be run using this action?

Thanks!

@w9jds
Copy link
Owner

w9jds commented Mar 14, 2020

Currently the action doesn't support this kind of behavior, though it is absolutely possible. I didn't realize they had added this functionality and have always set these configurations by hand. I'll look into it and see if I can add it for you.

@akshaykay
Copy link

@glocore Would you mind sharing the entire workflow yaml file?

@glocore glocore closed this as completed Apr 12, 2020
@microchipgnu
Copy link

Sorry for commenting in here. Is this in the plans?

@matanlouis
Copy link

Actuellement, l'action ne prend pas en charge ce type de comportement, bien que cela soit tout à fait possible. Je ne savais pas qu'ils avaient ajouté cette fonctionnalité et ont toujours défini ces configurations à la main. Je vais me renseigner et voir si je peux vous l'ajouter.

en pv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants