File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ zip default.zip *.*
27
27
# Save app name as variable for convenience
28
28
appName=<app-name>
29
29
30
- az appservice plan create --resource-group $groupName --name $appName --sku FREE --location $region --os-preference "Linux"
30
+ az appservice plan create --resource-group $groupName --name $appName --sku FREE --location $region --is-linux
31
31
az webapp create --resource-group $groupName --plan $appName --name $appName --runtime "node|14-lts"
32
32
az webapp config appsettings set --resource-group $groupName --name $appName --settings SCM_DO_BUILD_DURING_DEPLOYMENT=true
33
33
az webapp deployment source config-zip --resource-group $groupName --name $appName --src ./default.zip
@@ -36,7 +36,7 @@ az webapp deployment source config-zip --resource-group $groupName --name $appNa
36
36
The preceding commands:
37
37
* Create a linux app service plan
38
38
* Create a web app for Node.js 14 LTS
39
- * Configure the web app to install the npm packages
39
+ * Configure the web app to install the npm packages on deployment
40
40
* Upload the zip file, and install the npm packages
41
41
42
42
## Configure secrets as app settings
You can’t perform that action at this time.
0 commit comments