How to disable the manual deployment (i.e. via publish profile) of an App service from Visual studio and always make sure that the deployment to an App service happens only via CI/CD pipeline from Azure DevOps
How to disable the manual deployment (i.e. via publish profile) of an App service from Visual studio and always make sure that the deployment to an App service happens only via CI/CD pipeline from Azure DevOps
By reference to this doc: Publish a Web app to Azure App Service using Visual Studio,
And you could refer to this doc: Azure Pipelines ecosystem support to build and deploy your apps. For example, you could follow this tutorial: Deploy PHP application to Azure App Service using Azure Pipelines. Also you could use tool: DevOps Starter and Azure DevOps integration.