Question: How to create a nightly build of UE4 and merge with Gameworks?

As the topic says, how would I go about creating an automated nightly build of the engine, and merge the gameworks integration into it? I’m a github noobie, so a step-by-step would be appreciated.