You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following example configures the location of the ZIP package in an ARM template. Replace the placeholders `<app-name>` and `<zip-package-uri>`. The <zip-package-uri> can be a public endpoint, but it's best to use blob storage with a SAS key to protect it.
For more information, see [Microsoft.Web sites/extensions 'onedeploy' 2021-03-01](https://learn.microsoft.com/azure/templates/microsoft.web/2021-03-01/sites/extensions-onedeploy?pivots=deployment-language-arm-template).
88
-
89
68
# [Kudu API](#tab/api)
90
69
91
70
The following example uses the cURL tool to deploy a ZIP package. Replace the placeholders `<username>`, `<password>`, `<zip-package-path>`, and `<app-name>`. Use the [deployment credentials](deploy-configure-credentials.md) for authentication.
@@ -122,6 +101,28 @@ The above endpoint does not work for Linux App Services at this time. Consider u
122
101
123
102
-----
124
103
104
+
> [!NOTE]
105
+
> To deploy a ZIP package in an [ARM template](), upload the ZIP package to an internet-accessible location, then add a `onedeploy` resource like the following JSON. Replace the placeholders `<app-name>` and `<zip-package-uri>`.
> The \<zip-package-uri> can be a public endpoint, but it's best to use blob storage with a SAS key to protect it. For more information, see [Microsoft.Web sites/extensions 'onedeploy' 2021-03-01](https://learn.microsoft.com/azure/templates/microsoft.web/2021-03-01/sites/extensions-onedeploy?pivots=deployment-language-arm-template).
123
+
>
124
+
>
125
+
125
126
## Enable build automation for ZIP deploy
126
127
127
128
By default, the deployment engine assumes that a ZIP package is ready to run as-is and doesn't run any build automation. To enable the same build automation as in a [Git deployment](deploy-local-git.md), set the `SCM_DO_BUILD_DURING_DEPLOYMENT` app setting by running the following command in the [Cloud Shell](https://shell.azure.com):
0 commit comments