Yes, you required VS to deploy.
For more details refer below url.
Deploy an ASP.NET Core web app to Azure using Visual Studio
Deploy your ASP.NET Core app to Azure
Please don’t forget to "Accept the answer"
and up-vote
wherever the information provided helps you, this can be beneficial to other community members.