Static files not being copied to deploy

I have Jekyll site with single page apps at specific endpoints.

The apps are pre-built and all the assets are manually copied into the site source.

This has worked fine for years. But recently some of the files are not being copied during deploy.

The apps work fine when deving Jekyll locally.

I have confirmed the files are committed to the repo. But are not in the deploy file browser.

I have tried deleting the directory, committing/deploying, adding directory back and committing/deploying again. Same result.

I have tired building the apps for a test endpoint and deploying. The same files are not present after deploying the test app.

There are no log errors or any messages related to files not being copied.

This seems to have started about the same time as the implementation of the secrets check. Which I had to deal with because of API keys being present in some unrelated JS assets. I wonder if something in deploy is deciding to not copy these specific files for some reason and not erroring or logging.

Any ideas/help would be appreciated.

Which site is this about?

This site is new-vernonia-web.

Hi, @COV-GIS. Our support team cannot tell you more about what is happening with the site build as the repo linked to the site is private. We cannot see it to debug.

It might help the debugging process to add logging to the build code to log when the file is created and details about it when that happens (logging data that should change to see if it does). This would allow you to see if the issue has to do with the build itself or if something is happening outside of the build code itself.

Thank you.

I was able to determine and address the issue.

Some updated dependencies for my built apps had module names starting with underscores. Jekyll ignores those files. I know this. And should have immediately recognized the files that weren’t being copied started with underscores.

Addressed with module name transformations.