-
Notifications
You must be signed in to change notification settings - Fork 102
Link ManualSourceControl
suwatch edited this page Nov 4, 2014
·
6 revisions
This illustrates how to call ARM(CSM) directly to setup manual publishing from GitHub to your website.
- Setup continuous manual deployment to the site
CSMClient.exe put "https://management.azure.com/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{site}/sourceControls/web?api-version=2014-06-01" -content:payload.json
Sample payload.json
{
"properties": {
"RepoUrl": "https://github.com/<user>/<repository>",
"IsManualIntegration": true
}
}
- Disconnect GitHub deployment from the site
CSMClient.exe delete "https://management.azure.com/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{site}/sourceControls/web?api-version=2014-06-01"