.Net Core app from Visual Studio Code

I have created a .Net Core application using VS Code. Can someone guide me on how do I publish it, probably using Github?

Right now github publishing for .NET Core will not work properly. You will need to publish directly from visual studio as a self contained deployment. We have a guide here: https://www.gearhost.com/documentation/deploy-net-core-application