Deploy to Azure App Service
The deploy-to-azure.yaml is configured to run after a successful Build, Test, and Publish workflow run. It takes the build artifact and publishes it to an Azure App Service.
It is disabled by default.
Usage
- Set up your Azure environment (app service and database).
- Create a repo secret
AZURE_APP_SERVICE_NAMEand set it to the name of your app service (likemy-app-service). - Create a repo secret
AZURE_WEBAPP_PUBLISH_PROFILEand paste in the contents of your downloaded publish profile. - Create a repo variable
RUN_DEPLOY_TO_AZURE_APP_SERVICEand set it totrue.