I understand that you want to deploy a web job program to App Service instead of a web application.
First, are you using the App Service for Windows?
Please note that web jobs are not supported on Linux. In that case, we recommend migrating to Azure Functions.
Next, for deployment, you can upload via the Azure portal by following the steps below.
https://learn.microsoft.com/en-us/azure/app-service/webjobs-create#acceptablefiles
If you have any additional questions, please comment in this thread. We can support you.