It will depend on the hosting service. They will have instructions. Currently godaddy only supports Asp core via a hosted VM. As you build the vm, you control the deploy.
Hi Satyam,
As I know that Godaddy doesn't support .net core. You must hosting provider that support .net core, I would recommend you to check Asphostportal, they have support latest .net core on their server. Please refer to this tutorial https://windowswebhostingreview.com/asp-net-core-hosting-3-simple-steps-to-fix-502-5-error-in-asp-net-core/, you can find how to publish your .net core on server.