Deployment question

Hi all

So I’m looking for a good solution/strategy for deploying new code from a github repo. I’ve seen some solutions that copy the new code to a new folder that creates a new directory, copies in the new code, then renames the old directory -backup and then makes the new directory the live version etc.

I know some systems like Roots have this build in but I’d like to stick with EasyEngine, anyone have any good resources/tools/best practices for doing this with EasyEngine?