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_NAME
and set it to the name of your app service (likemy-app-service
). - Create a repo secret
AZURE_WEBAPP_PUBLISH_PROFILE
and paste in the contents of your downloaded publish profile. - Create a repo variable
RUN_DEPLOY_TO_AZURE_APP_SERVICE
and set it totrue
.