Skip to content

Commit

Permalink
Merge pull request #3 from naziml/master
Browse files Browse the repository at this point in the history
Fix azure deployment to add config section with correct dependencies
  • Loading branch information
felixrieseberg committed Apr 13, 2016
2 parents 09363f5 + a7401ef commit e5af0ff
Showing 1 changed file with 31 additions and 19 deletions.
50 changes: 31 additions & 19 deletions azuredeploy.json
Expand Up @@ -77,8 +77,31 @@
},
"properties": {
"serverFarmId": "[parameters('hostingPlanName')]",
"siteConfig": {
"appSettings": [{
},
"resources": [{
"apiVersion": "2015-08-01",
"name": "web",
"type": "sourcecontrols",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]"
],
"properties": {
"RepoUrl": "[parameters('repoUrl')]",
"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,
"appSettings": [{
"name": "websiteUrl",
"value": ""
}, {
Expand All @@ -93,21 +116,10 @@
}, {
"name": "siteName",
"value": "[parameters('siteName')]"
}]
},
},
"resources": [{
"apiVersion": "2015-08-01",
"name": "web",
"type": "sourcecontrols",
"dependsOn": [
"[resourceId('Microsoft.Web/Sites', parameters('siteName'))]"
],
"properties": {
"RepoUrl": "[parameters('repoUrl')]",
"branch": "[parameters('branch')]",
"IsManualIntegration": true
}
}]
}],
"requestTracingEnabled": false,
"httpLoggingEnabled": false
}
}]
}]
}
}

2 comments on commit e5af0ff

@MaherJendoubi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixrieseberg
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, updated!

Please sign in to comment.