How can I automatically deploy a Git branch from VisualStudio.com to Azure?

L.S.,

I gladly use the new VisualStudio.com service to host my repository. Now I want to deploy from this to Azure, which supports TFS and Git (not sure if it supports it together).

I assume that it is impossible right now to do it automatically with VS.com, because when I authorize my VS.com account, it tells me that it cannot find any projects.

I would like to know more about the possibilities of this.

+4
source share
3 answers

I just checked it out and can now be deployed using VisualStudio.com and Git.

0
source

At this point in time (early March 2013), visualstudio.com does not support automatically redirecting git to Windows Azure websites.

When you check Publishing a Website with Git , you see that (currently) deploying to Windows Azure websites is supported for

  • 'local files', aka 'git click azure master',
  • CodePlex
  • Github
  • Bitbucket
0
source

You can always tune your repo to azure using your deleted information. then manually call git pull from the cloud to get new commits.

(not sure about this answer) if you can execute shell commands from visual studio, you can add a hook to your git repository for ping a script on azure, which will automatically pull. I use this methodology with github and php. nettuts + has a great video explaining it http://net.tutsplus.com/tutorials/other/the-perfect-workflow-with-git-github-and-ssh/

and here is some info about git hooks http://git-scm.com/book/ch7-3.html

0
source

All Articles