Re:Ask HN: Solo-preneurs, how do you DevOps to save time?
by OJFord on Tuesday October 12, 2021 @12:44PM
(#28841877)
Why pull, as opposed to push(ing to the server as remote)?
Then you could have any necessary restart or migration or whatever run in a post-receive hook.
I realise that's starting to get back in to tooling and config etc., but it's not that complex, and if you're already using git anyway...
This also solves the roll-back problem mentioned elsewhere. Just checkout the previous version (as long as you don't make any side effects like DB updates that are incompatible).
I admit, this requires relatively simple software.