Open nosvalds opened 2 years ago
Yes, please add this.
The guide for this action also results in this error:
Option '--sdk-auth' has been deprecated and will be removed in a future release.
I want this enhancement too. Would simplify deployment consistency a lot and less of a pain to maintain two credentials
Any updates on this?
Enhancement Request
It would be nice if this Action supported using a Publish Profile, rather than the Azure/login and Service Principal method to authenticate.
Background
The documentation for Azure Functions recommends using a Publish Profile with the Azure/functions-action to deploy Azure Functions from GitHub Actions.
However, since you also probably want to set your Environment Variables for the Function through GitHub Actions, you must use this Action and a Service Principal to set the Environment Variables. So you probably will just end up using the Service Principal on the Function Action instead of the recommended Publish Profile. Otherwise you have to manage 2 secrets for authentication.