Generating screenshots with Puppeteer: Build and Deploy are successful but site is empty

Hello there!

I am using npm and Puppeteer to generate about two hundreds screenshots and hosting them on Netlify. Deploys are hooked to another Git repository. Build and Deploy are always successful. But every now and then, it seems like my site is just emptied and not a single screenshot is available anymore. I’m pretty clueless about what’s going on here and don’t even know where to start troubleshooting this. Any help and guidance is welcomed.


  • Netlify site : or
  • Source code :
  • Build log: Netlify App
  • Build settings:

hi there, can you say a little more about what you mean exactly by “my site is just emptied and not a single screenshot is available anymore”? Are you saying that content that was previously available is being deleted?

Hello. I don’t know for sure that’s what is happening, but my impression is indeed that content previously available is being deleted. For example, I pushed a commit this morning which triggered a new build and now some screenshots are missing (ex: Even the _redirects file which should be there on the root of the domain is no longer there.

Here’s the latest deploy log: Netlify App

Any help is appreciated.

Heya - seems like you renamed or deleted the site in the meantime - if they still exist, could you link me to those deploy logs at their new location so I can take a closer look?