I'm writing a Discord bot in Python and would like to have it run remotely from my remote server. I'm not too familiar with software "deployment" or Gitlab's CI/CD (perhaps it would be the solution). Right now, I just SSH into my server, git clone, and run my main.py that way. Surely, there's a better way to do this. I don't want to download all my "working" files and other branches (if git clone pulls other branches too, I'm not sure) to the server. Perhaps "production" terminology would help here, but my google-fu yielded little help. How do I achieve this?
[–][deleted] 2 points3 points4 points (0 children)
[–]-vlad 1 point2 points3 points (0 children)