Share via


az webapp deployment

Note

This command group has commands that are defined in both Azure CLI and at least one extension. Install each extension to benefit from its extended capabilities. Learn more about extensions.

Manage web app deployments.

Commands

Name Description Type Status
az webapp deployment container

Manage container-based continuous deployment.

Core GA
az webapp deployment container config

Configure continuous deployment via containers.

Core GA
az webapp deployment container show-cd-url

Get the URL which can be used to configure webhooks for continuous deployment.

Core GA
az webapp deployment github-actions

Configure GitHub Actions for a webapp.

Core GA
az webapp deployment github-actions add

Add a GitHub Actions workflow file to the specified repository. The workflow will build and deploy your app to the specified webapp.

Core GA
az webapp deployment github-actions remove

Remove and disconnect the GitHub Actions workflow file from the specified repository.

Core GA
az webapp deployment list-publishing-credentials

Get the details for available web app publishing credentials.

Core GA
az webapp deployment list-publishing-profiles

Get the details for available web app deployment profiles.

Core GA
az webapp deployment slot

Manage web app deployment slots.

Core GA
az webapp deployment slot auto-swap

Configure deployment slot auto swap.

Core GA
az webapp deployment slot create

Create a deployment slot.

Core GA
az webapp deployment slot delete

Delete a deployment slot.

Core GA
az webapp deployment slot list

List all deployment slots.

Core GA
az webapp deployment slot swap

Swap deployment slots for a web app.

Core GA
az webapp deployment source

Manage web app deployment via source control.

Core and Extension GA
az webapp deployment source config

Manage deployment from git or Mercurial repositories.

Core GA
az webapp deployment source config-local-git

Get a URL for a git repository endpoint to clone and push to for web app deployment.

Core GA
az webapp deployment source config-zip

Perform deployment using the kudu zip push deployment for a web app.

Core Deprecated
az webapp deployment source config-zip (appservice-kube extension)

Perform deployment using the kudu zip push deployment for a web app.

Extension GA
az webapp deployment source delete

Delete a source control deployment configuration.

Core GA
az webapp deployment source show

Get the details of a source control deployment configuration.

Core GA
az webapp deployment source sync

Synchronize from the repository. Only needed under manual integration mode.

Core GA
az webapp deployment source update-token

Update source control token cached in Azure app service.

Core GA
az webapp deployment user

Manage user credentials for deployment.

Core GA
az webapp deployment user set

Update deployment credentials.

Core GA
az webapp deployment user show

Get deployment publishing user.

Core GA

az webapp deployment list-publishing-credentials

Get the details for available web app publishing credentials.

az webapp deployment list-publishing-credentials [--ids]
                                                 [--name]
                                                 [--resource-group]
                                                 [--slot]
                                                 [--subscription]

Examples

Get the details for available web app publishing credentials (autogenerated)

az webapp deployment list-publishing-credentials --name MyWebapp --resource-group MyResourceGroup --subscription MySubscription

Optional Parameters

--ids

One 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.

--name -n

Name of the web app. If left unspecified, a name will be randomly generated. You can configure the default using az configure --defaults web=<name>.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az webapp deployment list-publishing-profiles

Get the details for available web app deployment profiles.

az webapp deployment list-publishing-profiles [--ids]
                                              [--name]
                                              [--resource-group]
                                              [--slot]
                                              [--subscription]
                                              [--xml]

Examples

Get the details for available web app deployment profiles. (autogenerated)

az webapp deployment list-publishing-profiles --name MyWebapp --resource-group MyResourceGroup --subscription MySubscription

Optional Parameters

--ids

One 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.

--name -n

Name of the web app. If left unspecified, a name will be randomly generated. You can configure the default using az configure --defaults web=<name>.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--slot -s

The name of the slot. Default to the productions slot if not specified.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--xml

Retrieves the publishing profile details in XML format.

Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.