Configure GitHub Actions for a functionapp.
Commands az functionapp deployment github-actions addAdd a GitHub Actions workflow file to the specified repository. The workflow will build and deploy your app to the specified functionapp.
az functionapp deployment github-actions add --repo
[--branch]
[--build-path]
[--force]
[--ids]
[--login-with-github]
[--name]
[--resource-group]
[--runtime]
[--runtime-version]
[--slot]
[--subscription]
[--token]
Examples
Add GitHub Actions to a specified repository, providing personal access token
az functionapp deployment github-actions add --repo "githubUser/githubRepo" -g MyResourceGroup -n MyFunctionapp --token MyPersonalAccessToken
Add GitHub Actions to a specified repository, using interactive method of retrieving personal access token
az functionapp deployment github-actions add --repo "githubUser/githubRepo" -g MyResourceGroup -n MyFunctionapp --login-with-github
Required Parameters
The GitHub repository to which the workflow file will be added. In the format: https://github.com/<owner>/<repository-name>
or <owner>/<repository-name>
.
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The branch to which the workflow file will be added.
Property Value Default value: masterPath to the build requirements. Ex: package path, POM XML directory.
Property Value Default value: .When true, the command will overwrite any workflow file with a conflicting name.
Property Value Default value: FalseOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property Value Parameter group: Resource Id ArgumentsInteractively log in with Github to retrieve the Personal Access Token.
Property Value Parameter group: Github Arguments Default value: FalseName of the function app.
Property Value Parameter group: Resource Id ArgumentsName of resource group. You can configure the default group using az configure --defaults group=<name>
.
The functions runtime stack. Use "az functionapp list-runtimes" to check supported runtimes and versions.
The version of the functions runtime stack. The functions runtime stack. Use "az functionapp list-runtimes" to check supported runtimes and versions.
The name of the slot. Default to the production slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property Value Default value: False az functionapp deployment github-actions removeRemove and disconnect the GitHub Actions workflow file from the specified repository.
az functionapp deployment github-actions remove --repo
[--branch]
[--ids]
[--login-with-github]
[--name]
[--resource-group]
[--slot]
[--subscription]
[--token]
Examples
Remove GitHub Actions from a specified repository, providing personal access token
az functionapp deployment github-actions remove --repo "githubUser/githubRepo" -g MyResourceGroup -n MyFunctionapp --token MyPersonalAccessToken
Remove GitHub Actions from a specified repository, using interactive method of retrieving personal access token
az functionapp deployment github-actions remove --repo "githubUser/githubRepo" -g MyResourceGroup -n MyFunctionapp --login-with-github
Required Parameters
The GitHub repository to which the workflow file will be added. In the format: https://github.com/<owner>/<repository-name>
or <owner>/<repository-name>
.
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
The branch to which the workflow file will be added.
Property Value Default value: masterOne or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Property Value Parameter group: Resource Id ArgumentsInteractively log in with Github to retrieve the Personal Access Token.
Property Value Parameter group: Github Arguments Default value: FalseName of the function app.
Property Value Parameter group: Resource Id ArgumentsName of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the slot. Default to the production slot if not specified.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity to show all debug logs.
Property Value Default value: FalseShow this help message and exit.
Only show errors, suppressing warnings.
Property Value Default value: FalseOutput format.
Property Value Default value: json Accepted values: json, jsonc, none, table, tsv, yaml, yamlcJMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
Property Value Default value: FalseRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4