Skip to content

Link OtherSourceControl

Suwat Ch edited this page Nov 20, 2015 · 1 revision

Besides GitHub, we do support deployments from other providers (below). The apis are the same as linking with GitHub. The only difference is RepoUrl for each providers.

  • Setup continuous deployment
ARMClient.exe put /subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{site}/sourceControls/web?api-version=2014-11-01 @payload.json

Sample payload.json for GitHub

{
  "properties": {
    "RepoUrl": "https://github.com/<user>/<repository>"
  }
}

Sample payload.json for Bitbucket

{
  "properties": {
    "RepoUrl": "https://bitbucket.org/<user>/<repository>"
  }
}

Sample payload.json for Dropbox

{
  "properties": {
    "RepoUrl": "https://www.dropbox.com/home/Apps/Azure/<folder>"
  }
}

Sample payload.json for OneDrive

{
  "properties": {
    "RepoUrl": "https://api.onedrive.com/v1.0/drive/special/approot:/<folder>"
  }
}

Sample payload.json for VSO (Visual Studio Online)

{
  "properties": {
    "RepoUrl": "https://<account>.visualstudio.com/DefaultCollection/_git/<project>"
  }
}
Clone this wiki locally