Azure / Azure/static-web-apps

Build and Deploy fails

Open
#1,125 8 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The build and deploy step fails when running the **ci: add Azure Static Web Apps workflow file**. From the [ci logs in my repo](https://github.com/Al3nMicL/my-static-web-app/actions/runs/4549391353/jobs/8021576375), it appears to fail when trying to call python2. Looks like the Docker image Azure is trying to run it on does not have it?

A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to [Azure Static Web Apps](https://learn.microsoft.com/en-us/training/paths/azure-static-web-apps/) training on Microsoft Learn.
2. Progress to [Unit 4 of 5](https://learn.microsoft.com/en-us/training/modules/publish-app-service-static-web-app-api/4-exercise-static-web-apps?pivots=vue).
3. Complete up to step 10.
4. See deploy build error

**Expected behavior**
For it to deploy.

**Screenshots**
n/a

**Device info (if applicable):**
- OS: n/a
- Browser: n/a
- VS Code Version 1.76.2

**Additional context**
I tried to run it again using github actions online (to make sure it was not my editor) and it still failed.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.