az webapp deployment

Manage web app deployments.

Commands

az webapp deployment container

Manage container-based continuous deployment.

az webapp deployment container config

Configure continuous deployment via containers.

az webapp deployment container show-cd-url

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

az webapp deployment github-actions

Configure GitHub Actions for a webapp.

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.

az webapp deployment github-actions remove

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

az webapp deployment list-publishing-credentials

Get the details for available web app publishing credentials.

az webapp deployment list-publishing-profiles

Get the details for available web app deployment profiles.

az webapp deployment slot

Manage web app deployment slots.

az webapp deployment slot auto-swap

Configure deployment slot auto swap.

az webapp deployment slot create

Create a deployment slot.

az webapp deployment slot delete

Delete a deployment slot.

az webapp deployment slot list

List all deployment slots.

az webapp deployment slot swap

Swap deployment slots for a web app.

az webapp deployment source

Manage web app deployment via source control.

az webapp deployment source config

Manage deployment from git or Mercurial repositories.

az webapp deployment source config-local-git

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

az webapp deployment source config-zip

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

az webapp deployment source delete

Delete a source control deployment configuration.

az webapp deployment source show

Get the details of a source control deployment configuration.

az webapp deployment source sync

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

az webapp deployment source update-token

Update source control token cached in Azure app service.

az webapp deployment user

Manage user credentials for deployment.

az webapp deployment user set

Update deployment credentials.

az webapp deployment user show

Get deployment publishing user.

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.

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