Skip to content

Commit fa5aecd

Browse files
Merge pull request #248428 from cephalin/cephalin-patch-1-4
https://github.com/MicrosoftDocs/azure-docs/issues/97915
2 parents 7261d65 + d14d5bf commit fa5aecd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

includes/app-service-web-deploy-zip-prepare.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ services: app-service
55
author: cephalin
66
ms.service: app-service
77
ms.topic: "include"
8-
ms.date: 01/14/2020
8+
ms.date: 08/31/2023
99
ms.author: cephalin
1010
ms.custom: "include file"
1111
---
1212

1313
## Create a project ZIP package
1414

15-
>[!NOTE]
16-
> If you downloaded the files in a ZIP package, extract the files first. For example, if you downloaded a ZIP package from GitHub, you cannot deploy that file as-is. GitHub adds additional nested directories, which do not work with App Service.
15+
>[IMPORTANT]
16+
> When creating the ZIP package for deployment, don't include the root directory, but only the files and directories in it. If you download a GitHub repository as a ZIP file, you cannot deploy that file as-is to App Service. GitHub adds additional nested directories at the top level, which do not work with App Service.
1717
>
1818
1919
In a local terminal window, navigate to the root directory of your app project.
@@ -22,7 +22,7 @@ This directory should contain the entry file to your web app, such as _index.htm
2222

2323
Unless you want App Service to run deployment automation for you, run all the build tasks (for example, `npm`, `bower`, `gulp`, `composer`, and `pip`) and make sure that you have all the files you need to run the app. This step is required if you want to [run your package directly](../articles/app-service/deploy-run-package.md).
2424

25-
Create a ZIP archive of everything in your project. For `dotnet` projects, this folder is the output folder of the `dotnet publish` command. The following command uses the default tool in your terminal:
25+
Create a ZIP archive of everything in your project. For `dotnet` projects, this is everything in the output directory of the `dotnet publish` command (excluding the output directory itself). For example, the following command in your terminal to create a ZIP package of the contents of the current directory:
2626

2727
```
2828
# Bash

0 commit comments

Comments
 (0)