Deploy using the gcloud CLI. Using the Google Cloud CLI, deploy your function from the directory containing your function code with the gcloud functions deploy command: gcloud functions deploy NAME –entry-point ENTRY-POINT –runtime RUNTIME TRIGGER [ FLAGS …]
Read moreHow do I set environment variables in Google cloud?
To set environment variables for an existing environment:
Read moreHow do I run a Firebase function?
Get started: write, test, and deploy your first functions
Read moreWhat is environment configuration?
You configure your environment by setting environment variables and creating or modifying files that relate to the environment variables . You can control whether environment variables are set at the environment level, for a specific user, or for a database session.
Read moreHow do I set environment variables in Firebase?
Environment variables
Read moreHow are environment variables used in cloud functions?
Open the Runtime, build and connections settings section. Select the Runtime tab. In the Runtime environment variables section, click Add variable and add the name and value . For instructions on how to add environment variables to an existing function, see Updating runtime environment variables.
Read moreHow do I make Firebase functions locally?
Run functions locally
Read more