DEV Community

Discussion on: Deploy Next.js with Azure Static Web App Service and GitHub Actions (Video and Tutorial)

Collapse
 
thomas159 profile image
thomas159

not sure if they have changed something but this doesn't work for me, I get this error Failed to find a default file in the app artifacts folder (.next). Valid default files: index.html,Index.html.

Collapse
 
csandman profile image
Christopher Sandvik

Personally, I had to use different paths as this guide does. I'd highly recommend checking out this guide which worked for me: medium.com/bb-tutorials-and-though...

Collapse
 
deepakr28 profile image
Deepak Rawat

hey thomas, even i get the same error, did you find a fix for it??

Collapse
 
gsharathgoud profile image
Sharath G

Not sure if your still looking for this - make sure your exporting it after you build, next build && next export to create out folder.