Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web deploy from multiple computers

I work on a website on multiple computers, my work and my home pc. The source is maintained under a git repository. I use Web Deploy to publish the website to IIS on the public server. Everything works OK, I can publish from both computers and it works.

The issue is that when I deploy from one PC, then go to the other, get the latest changes from git, make more changes, then deploy again, it re-deploys the entire website instead of only the files that have changed - as is what happens if I were to take out the "then go to the other, get the latest changes from git" steps from the first sentence of this paragraph.

What can I do, what files can I include in my git repository (I exclude all packages, bin and obj directories), or what extra configuration can I perform, to resolve this?

like image 286
Brendan Avatar asked Oct 18 '12 14:10

Brendan


People also ask

Is web deploy still used?

Web Deploy is used primarily in two scenarios: Developers use it to sync (aka 'publish') a compiled web applications (ASP . Net, PHP etc) from developer tools (Visual Studio, WebMatrix, etc) to IIS.

Does web deploy work by pushing or pulling data?

You can use the Web Deployment Tool to synchronize a Web site from a source to a destination on IIS 6.0, or IIS 7 or above. You can do this by "pushing" data to a remote destination or by "pulling" data from a remote source.

Is Microsoft web deploy free?

Microsoft Download Manager is free and available for download now. The Web Deployment Tool simplifies migration, management and deployment of IIS Web servers, Web applications and Web sites. Note: There are multiple files available for this download.


1 Answers

Add a repo on your public server, push to that, then deploy from there. The push will be minimal, git can be startlingly good with deltas.

like image 74
jthill Avatar answered Sep 21 '22 22:09

jthill