Deployment Failed. deployer = GITHUB_ZIP_DEPLOY deploymentPath = ZipDeploy. Extract zip. Remote build. Error: Failed to deploy web package to App Service. Error: Deployment Failed, Package deployment using ZIP Deploy failed. Refer logs for more details.
I am using GitHub cli to deploy my Django app to Azure app service It was working fine until GitHub started to use zip deployment or package deployment then It gives me this error.
I tried to add WEBSITE_RUN_FROM_PACKAGE=1
in my app configurations and the deployments pass in GitHub without errors but the app doesn't work at all.
Azure App Service=>Deployment Center=>Logs
to know error in detail.App Service=>Configuration=>New Application Settings(in old Azure portal) (or) App Service=>Environmental variables
.GitHub Actions
.I deployed a simple Django web app to Azure App Service using GitHub Actions.
Steps followed:
Enabling continuous deployment
and select theGitHub repository and branch of your Django project
.your repository=>Actions
.My Workflow (.yml):
Deployed Successfully:
Response: