When you create an app there's no option to customize this, it's just there by default.
This matters because sometimes I don't want github actions to say that I'm deploying to "production", I want it to say I'm deploying to "development". But if I change this property manually, I'll get an error in github actions saying: Error: Deployment Failed with Error: Error: Publish profile is invalid for app-name and slot-name provided. Provide correct publish profile credentials for app.
But then as soon as it's changed back the deployment works again, so I need to find a way to change this property in Azure?
CodePudding user response:
Always the main slot of the webapp is called production, there is no way to change it.