I am stuck on a problem I have been having with setting up my GitHub repo to work the way I want it to. Basically this is what I have so far -
Now I have two identicle websites. One running on my server and one using GitHub-Pages but this isn't really want I wanted. What I wanted is this -
So basically, I woudl have a live production site hosted on my server and a showcase for the latest dev build hosted on GH-Pages and all the source files remaining in a single repo but I don't know how to maintain the master branch as a source for my personal server and a different branch/folder as the source GH-Pages.
Can anyone tell me how to do that?