Delopy asp.net website with github automatically
Here is the basic workflow:
-
login into your server.
-
install git.
-
fork this into your server.
-
config IIS, make sure the PostReceiveHook.ashx can be visit from internet.
-
create a repository on github to hold the published/compiled web project files, such as dlls, views.
-
setup webhook url in the github repo, point to (postreceivehook.ashx).
-
clone this in your local computer and server
-
Publish from vs to the local repo.
-
commit & push to github
...
your site get updated :)