3 ms·
Rsync in a bash script is a pretty good way to go as far as simplicity, plus you can just ship the built files rather than the entire repo. Things do get a bit
by mjgs 6y ago
Rsync in a bash script is a pretty good way to go as far as simplicity, plus you can just ship the built files rather than the entire repo.
Things do get a bit complex if you try to make your home made solution more robust. But on the other hand if you manage to do it then you have a solution you can deploy to any standard cloud server.
Here is a good writeup of such a home made solution to give you an idea of what that might look like:
https://dev.to/justincy/blue-green-node-js-deploys-with-nginx-bkc https://dev.to/justincy/blue-green-node-js-deploys-with-ngin...