In this tutorial, you learn to:
Set up an Azure Static Web Apps site for a Vanilla API sample app using Azure portal
Create a Bitbucket Pipeline to build and publish a static web app
Prer...
RupaReddy I have followed these instructions and configured my yml file:
The pipeline starts successfully but I get this error when the pipe is trying to deploy the code to SWA:
I have searched for this error online, and tried some of the fixes suggested, but the pipe still fails. Any suggestions on where to look for further logs or what I need to do in the configuration?
Thanks!
UPDATE: I hadn't noticed that the `npm run build` step of the deployment was failing, which was not creating the /dist directory. Once the npm error was fixed, Oryx deployed the code successfully. The error "Reason: The number of static files was too large" was misleading, the error was actually that there were no files found to deploy. Leaving this comment here for search engines in case others have this issue.