Open DonThompson opened 1 year ago
FWIW since I'm stuck here and if anyone else runs into this, I went with a routes.json which worked just fine. I know it's deprecated and I'd prefer not to use it, but it is at least functioning for me.
Same situation here: without staticwebapp.config.json get 404 on redirect authentication call back. Followed the suggestion: https://learn.microsoft.com/en-us/azure/static-web-apps/deploy-blazor by adding this file, got problems with devops pipeline.
Stuck!
Describe the bug
To Reproduce I have an Azure Devops pipeline that Builds my angular application and creates an artifact. I then have a Release pipeline that uses AzureStaticWebApp@0 to deploy that to an Azure Static Web App. This has been working fine until I attempted to add staticwebapp.config.json into my project. staticwebapp.config.json is in the /src/ directory of my angular application and also list as part of the assets configuration to output it to the root with the rest of the application (beside index.html). The file appears to be detected as normal, but then the deployment just quits for no reason. This does not seem to be an error state. I have enabled Verbose logging, but nothing more is written. (If I remove the staticwebapp.config.json from my project, this deployment works just fine)
Here's the YAML if helpful:
Expected behavior Deployment would proceed as normal.