Skip to content

The YAML created by the Web App for Github Actions Deployment is incorrect and causes the deployment to fail. #456

@Tylersuard

Description

@Tylersuard

Hello. I am using Azure Web Apps. When I go to the Deployment center, I choose to deploy using Github. I allow Azure to create a deployment YAML file in my repo. That YAML file is wrong. It creates a venv and zips it up with the code and then pushes it to the WebApp. This causes the build to fail because 1. The web app expects a venv named "antenv" and can't find any of my packages after deployment 2. The pushed artifact should only contain code and not a venv.

For more information, see this community issue:

https://learn.microsoft.com/en-us/answers/questions/2285021/error-when-running-python-3-13-web-app-python-erro?comment=question&translated=false#newest-question-comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions