I'm having issues configuring an automatic deployment for a Python (FastAPI) app to Azure Web App using GitHub Actions. The deployment succeeds, but Azure is automatically triggering an Oryx build and a OneDeploy process, which I want to avoid.
Has anyone encountered a similar issue or found a solution to bypass the Oryx and OneDeploy process? Any guidance would be greatly appreciated!
I've tried multiple configurations to disable this automatic build on Azure, but nothing has worked so far. Here’s what I’ve tried:
Set the environment variables ENABLE_ORYX_BUILD=false and WEBSITE_RUN_FROM_PACKAGE=1 in the Azure Web App configuration to disable the automatic build. However, OneDeploy and Oryx are still being triggered. Removed any Startup Command in the Azure configuration and set up the GitHub Actions workflow to create a ZIP package of the pre-built application, expecting Azure to deploy it directly without rebuilding. Adjusted the GitHub Actions workflow to authenticate with publish-profile rather than client-id and tenant-id, aiming for a simpler, direct deployment, but the issue persists.

