Hi @Naveen prabhu
If you want your GitHub Actions workflow for Azure App Service to skip the Oryx build step and use ZIP deployment instead, you'll need to manually update the workflow that Terraform creates. Currently, the Terraform provider for Azure App Service doesn't offer a direct way to change the workflow type or remove the Oryx build step.
After the workflow is generated, you can edit the .github/workflows/main.yml
file in your repository. Add steps for setting up a Python virtual environment, installing dependencies, zipping your app, and deploying the ZIP file.
Also, make sure your app settings are correct. Since setting WEBSITE_RUN_FROM_PACKAGE=1
and SCM_DO_BUILD_DURING_DEPLOYMENT=false
hasn't worked, manually updating the workflow file remains the most effective solution.
References:
- Configure continuous deployment to Azure App Service
- Deploy to Azure infrastructure with GitHub Actions
Let me know if you have any further assistances needed.