The existing deployment was previously uploaded to the server through scp, and the use of git was prohibited on the server. Then every time new code needs to be synchronized, scp is required. Then I thought about how to achieve a good implementation like git? The premise is that version control software cannot be used! ! !
Thanks.
pycharm deployment ssh connection method remote deployment
It’s easy not to use git. Your business code should still be hosted on a certain git platform, right? You can set up a git hooks. Whenever you have a release, the git platform will post it to the production server. After the server accepts the request, it will download the release zip package, decompress it, overwrite it and restart the service.
Convert your code to ansible for one-click upgrade.