Sunday 25 March 2018

Keep production Rest API files up to date

Hey everyone. I couldn't find a proper way to keep my node.js/expresd Rest API app's files up to date on my server. So for the moment I'm manually copy-pasting updated files.What should I do so that when I push my code to github (private repo) it automatically pushes the files on the server as well? Or maybe a command that is not even linked to the GitHub push, I'm just looking for a simpler way than copy-pasting.Edit:Ok I found something. Basically, I just have to setup another repo on my server, and push files there.This have crossed my mind, of course, but I thought maybe there was a better way.

Submitted March 25, 2018 at 04:37PM by SchrodingersBurger

No comments:

Post a Comment