Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
update azuredeploy to reorder steps
Browse files Browse the repository at this point in the history
update deploy.cmd to v1.0.4
  • Loading branch information
jcorioland committed Oct 23, 2015
1 parent d65b406 commit 6ac6e91
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
42 changes: 21 additions & 21 deletions azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,26 +85,7 @@
"serverFarmId":"[parameters('hostingPlanName')]"
},
"resources":[
{
"apiVersion": "2014-04-01",
"type": "config",
"name": "web",
"dependsOn": [
"[concat('Microsoft.Web/Sites/', parameters('siteName'))]"
],
"properties": {
"webSocketsEnabled": true,
"virtualApplications": [
{
"virtualPath": "/",
"physicalPath": "site\\wwwroot\\Server",
"preloadEnabled": false,
"virtualDirectories": null
}
]
}
},
{
{
"apiVersion":"2015-04-01",
"name":"web",
"type":"sourcecontrols",
Expand All @@ -116,9 +97,28 @@
"branch": "[parameters('branch')]",
"IsManualIntegration":true
}
},
{
"apiVersion": "2014-04-01",
"type": "config",
"name": "web",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]",
"[concat('Microsoft.Web/Sites/', parameters('siteName'), '/sourcecontrols/web')]"
],
"properties": {
"webSocketsEnabled": true,
"virtualApplications": [
{
"virtualPath": "/",
"physicalPath": "site\\wwwroot\\Server",
"preloadEnabled": true,
"virtualDirectories": null
}
]
}
}
]
}
]
}

3 changes: 1 addition & 2 deletions deploy.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

:: ----------------------
:: KUDU Deployment Script
:: Version: 0.1.13
:: Version: 1.0.4
:: ----------------------

:: Prerequisites
Expand Down Expand Up @@ -110,7 +110,6 @@ IF EXIST "%DEPLOYMENT_TARGET%\package.json" (
:: Post deployment stub
IF DEFINED POST_DEPLOYMENT_ACTION call "%POST_DEPLOYMENT_ACTION%"
IF !ERRORLEVEL! NEQ 0 goto error

goto end

:: Execute command routine that will echo out when error
Expand Down

0 comments on commit 6ac6e91

Please sign in to comment.