For any programming language, but this time, we'll do C# (ASP.NET Core backend application). I'm using GitHub Actions with no plugins or some fancy third party dependencies whatsoever, hopefully you can adapt this into your CI runner of choice.
The GitHub Actions file and the bash script file should be easily understood.
If you don't know what a certain command does, you should Google it.
Important
I would advise you to NOT use a public IP address, and you shouldn't open your port 22 publicly.