App Service Environment Variables (CI/CD Github Actions)

Cloud Texavie 71 Reputation points
2021-03-17T06:12:22.067+00:00

Hi,

I am deploying a nodejs application on AppService with a CI/CD pipeline (Github Actions). Based on my understanding, the environment variables (e.g process.env.VARIABLE) need to be set under the Application Settings on the Azure Portal for App Service:

78643-image.png

However, at runtime the environment variables are unset (i.e process.env.IoTHubConnectionString is undefined):

78583-image.png

Is there any step that I am missing, for example, some configs in the github actions yaml file that I need to add?

Thanks

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,187 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.