I currently have two git repos and two sites deployed on AppHarbor. All works fine. Problem is that both sites share quite a few things between them and it is a pain to duplicate the work between them and ensure that they are up to date.
What would be ideal is having a single git repo with two VS solutions. One for each site. Then I could extract the common elements and share the code between the different sites.
Is there a way to tell AppHarbor to use a specific solution file? And share a git repo between two sites?
Is there some other way that works?
You should read the getting started docs for information about the build convention and solution naming.
And Yes, you can create a single git repository with separated solutions for the sites you want share the same code, just remember to setup a solution for each web application with the same name of the "slug" of the appharbor application.
For instance:
app1.apphb.com => app1.sln
app2.apphb.com => app2.sln
@alastairtree, Currently, AppHarbor doesn't support submodules, so, we must use subtree instead.