Skip to content

Commit c661280

Browse files
authored
Merge pull request #195328 from carlrab/azurecli-docs-app-service-temp
temp for modified script files
2 parents 5c3656e + a3f0e00 commit c661280

File tree

2 files changed

+29
-14
lines changed

2 files changed

+29
-14
lines changed

articles/app-service/scripts/cli-deploy-ftp.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ title: 'CLI: Deploy app files with FTP'
33
description: Learn how to use the Azure CLI to automate deployment and management of your App Service app. This sample shows how to create an app and deploy files with FTP.
44
author: msangapu-msft
55
tags: azure-service-management
6-
76
ms.devlang: azurecli
87
ms.topic: sample
9-
ms.date: 12/12/2017
8+
ms.date: 04/15/2022
109
ms.author: msangapu
1110
ms.custom: mvc, seodec18, devx-track-azurecli
1211
---
@@ -19,15 +18,23 @@ This sample script creates an app in App Service with its related resources, and
1918

2019
[!INCLUDE [azure-cli-prepare-your-environment.md](../../../includes/azure-cli-prepare-your-environment.md)]
2120

22-
- This tutorial requires version 2.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
23-
2421
## Sample script
2522

26-
[!code-azurecli-interactive[main](../../../cli_scripts/app-service/deploy-ftp/deploy-ftp.sh "Create an app and deploy files with FTP")]
23+
[!INCLUDE [cli-launch-cloud-shell-sign-in.md](../../../includes/cli-launch-cloud-shell-sign-in.md)]
24+
25+
### Run the script
26+
27+
:::code language="azurecli" source="~/azure_cli_scripts/app-service/deploy-ftp/deploy-ftp.sh" id="FullScript":::
28+
29+
## Clean up resources
30+
31+
[!INCLUDE [cli-clean-up-resources.md](../../../includes/cli-clean-up-resources.md)]
2732

28-
[!INCLUDE [cli-script-clean-up](../../../includes/cli-script-clean-up.md)]
33+
```azurecli
34+
az group delete --name $resourceGroup
35+
```
2936

30-
## Script explanation
37+
## Sample reference
3138

3239
This script uses the following commands. Each command in the table links to command specific documentation.
3340

articles/app-service/scripts/cli-deploy-github.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
title: 'CLI: Deploy an app from GitHub'
3-
description: Learn how to use the Azure CLI to automate deployment and management of your App Service app. This sample shows how to deploy an app from GitHub.
3+
description: Learn how to use the Azure CLI to automate deployment and management of your App Service app. This sample shows how to create an app and deploy it from GitHub.
44
author: msangapu-msft
55
tags: azure-service-management
66

77
ms.assetid: 0205c991-0989-4ca3-bb41-237dcc964460
88
ms.devlang: azurecli
99
ms.topic: sample
10-
ms.date: 12/11/2017
10+
ms.date: 04/15/2022
1111
ms.author: msangapu
1212
ms.custom: mvc, seodec18, devx-track-azurecli
1313
---
@@ -20,15 +20,23 @@ This sample script creates an app in App Service with its related resources. It
2020

2121
[!INCLUDE [azure-cli-prepare-your-environment.md](../../../includes/azure-cli-prepare-your-environment.md)]
2222

23-
- This tutorial requires version 2.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
24-
2523
## Sample script
2624

27-
[!code-azurecli-interactive[main](../../../cli_scripts/app-service/deploy-github/deploy-github.sh?highlight=3 "Create an app with deployment from GitHub")]
25+
[!INCLUDE [cli-launch-cloud-shell-sign-in.md](../../../includes/cli-launch-cloud-shell-sign-in.md)]
26+
27+
### Run the script
28+
29+
:::code language="azurecli" source="~/azure_cli_scripts/app-service/deploy-github/deploy-github.sh" id="FullScript":::
30+
31+
## Clean up resources
32+
33+
[!INCLUDE [cli-clean-up-resources.md](../../../includes/cli-clean-up-resources.md)]
2834

29-
[!INCLUDE [cli-script-clean-up](../../../includes/cli-script-clean-up.md)]
35+
```azurecli
36+
az group delete --name $resourceGroup
37+
```
3038

31-
## Script explanation
39+
## Sample reference
3240

3341
This script uses the following commands. Each command in the table links to command specific documentation.
3442

0 commit comments

Comments
 (0)