Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Auto-Deploy on IIS from Github?

I found a way using a .php page to auto deploy, quick and dirty, using a Post-Receive URL. So you put the following into a page on your site:

<?php `git pull`; ?>

Put that page's URL into GiHub and bang, auto deploy. Works great. Is there something similar or equivalent for .ASP? I have a site running on IIS 6.0 and it would be great to do an ASP equivalent.

I through about installing PHP on the IIS server, seems like a waste for just a sigle page and would open me up to PHP security and patching issue. Rather just use some .ASP code.

Could find what I need via Google, GitHub:Gists, or iis.net.

Thanks!

like image 532
Ross R Avatar asked Sep 08 '26 21:09

Ross R


1 Answers

I don't know much about PHP, except it's a scripting language. But ASP.NET projects need to be built. Anyway, you can simplify the processes by using Paas platforms such as AppHarbor (or Azure, as Kelly mentioned).

like image 84
Mehdi Golchin Avatar answered Sep 11 '26 12:09

Mehdi Golchin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!