I currently have access to an environment variable in the bash shell where I publish an Azure Function, and I would like to have access to the same environment variable inside of my function app.
My pipeline currently looks something like this:
az login --service-principal -u $USRN -p $PASSW --tenant $TENANT
func azure functionapp publish $FUNCTION_APP_NAME --python
Is is possible to specify some environment variables (I.e CONNECTION_URL=example.com
) during function publish?
I have seen actions such as --publish-local-settings
, --publish-settings-only
, and --overwrite-settings
, but I don’t think they can help with one specific environment variable. Thank you for any help!