Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.26k stars 3.87k forks source link

Configure Azure Functions GitHub Actions Continuous delivery using PowerShell #16567

Open Ayanmullick opened 2 years ago

Ayanmullick commented 2 years ago

Description of the new feature

Azure Functions continuous delivery for GitHub Actions is currently unsupported for PowerShell. One should be able to configure GitHub actions for Azure Functions using PowerShell like one can using the Azure Portal. This is a continuation of the issue below. https://github.com/MicrosoftDocs/azure-docs/issues/83776

Creating feature request as advised.

@dcaro @MughundhanRaveendran-MSFT

Proposed implementation details (optional)

It should look similar to the continuous delivery for GitHub Actions for AzWebApp like in the example in the link below.

az webapp deployment github-actions

Maybe something like this,

Add-AzFunctionAppDeployment -Type "github-actions" -Repo "githubUser/githubRepo" -ResourceGroup <> -FunctionName <> -LoginType 'GitHub' -Id 'GitHubId'
dingmeng-xue commented 2 years ago

Thanks for reporting. We are asking owner team to provide insight.