Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.92 KB

File metadata and controls

60 lines (43 loc) · 1.92 KB

Swap a deployment slot

appservice/swap-deployment-slot/README.md

Prerequisites

This example assumes you have previously completed the following examples:

  1. Create an Azure Resource Group
  2. Create an Azure App Service Plan
  3. Deploy a web application on a managed Tomcat
  4. Create a deployment slot
  5. Deploy to a deployment slot

Swap a deployment slot

To swap deployment slot use the following command line:

  az webapp deployment slot swap \
    --resource-group $RESOURCE_GROUP \
    --name $APPSERVICE_TOMCAT_HELLOWORLD \
    --slot staging

Cleanup

Do NOT forget to remove the resources once you are done running the example.

2m