🚧 Documentation is a work in progress, thank you for your patience! 🚧

Deploying to Azure

Going to Production

In this guide, I will explain how to push your code to your production environment in Azure. It is quite simple really.

Step 1: Publish Your Azure Function App

To publish your most recent changes to Azure, run the following command:

func azure functionapp publish myFuncRunnerApp

The name value is the same name you used to name your function app when you read the Create Azure Function App guide. In the example above, the name of our app is myFuncRunnerApp.

Step 2: Update App Settings [Optional]

If you have an environment variables you must set, for example, a new OpenAI API Key then run the following command:

az functionapp config appsettings set --name myFuncRunnerApp \
--resource-group funcRunnerResourceGroup \
--settings "OPENAI_API_KEY=your_api_key_value"

Make sure that you name and resource group name match what you deployed in the Create Azure Function App guide.