Problem With Deploy Static Web App
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I encountered an unknown exception during the deployment of an Azure Static Web App using Azure Pipelines. The deployment process downloads the `mcr.microsoft.com/appsvc/staticappsclient:stable` image and attempts to deploy the app, but it fails with an unknown exception.
Steps to reproduce the behavior:
1. Run the Azure Pipeline configured to deploy an Azure Static Web App.
2. The pipeline executes successfully until it reaches the deployment step.
3. The process fails with an unknown exception and exits with code 1.
The Azure Static Web App should deploy successfully without any exceptions, completing the deployment process.
* OS: Linux Ubuntu (Latest Version) (Azure Pipelines)
* The pipeline had been working previously but suddenly stopped by itself. I attempted to resolve the issue by updating the deployment token for the Static Web App and changing the Node.js version to the latest, but the issue persists.
``` Digest: sha256XXXXXXXXXX
Status: Downloaded newer image for mcr.microsoft.com/appsvc/staticappsclient
DeploymentId: 2f5abc4a-1f8b-4440-acce-70ed9962f582
An unknown exception has occurred
For further information, please visit the Azure Static Web Apps documentation at https://docs.microsoft.com/en-us/azure/static-web-apps/
If you believe this behavior is unexpected, please raise a GitHub issue at https://github.com/azure/static-web-apps/issues/
Exiting ##[error]Error: The process '/usr/bin/bash' failed with exit code 1
```
Any insights or suggestions on how to resolve this issue would be greatly appreciated. Thank you!
Taks:
```
- ${{ if releaseOp.value.staticWebAppKey }}:
- task: AzureStaticWebApp@0
displayName: "Deploy Static Web App"
inputs:
app_location: "$(Build.BuildId)/dist"
skip_app_build: false
skip_api_build: true
is_static_export: false
verbose: true
azure_static_web_apps_api_token: $(deployment_token)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.