Has the temp directory location changed in the past week?

Our Jekyll build has started failing on an issue in the parent theme. If we rerun old (successful) builds from 6 days ago, they now fail.

All versions of dependencies are the same in the successful builds 6 days ago compared to the unsuccessful ones today.

I have traced it back to what I believe to be the temp directory now being set to
/opt/buildhome/repo/
. I believe this might have changed in the past 6 days.

When Cloudflare builds:
Remote Theme: Using theme pmarsceill/just-the-docs
Remote Theme: Downloading https://codeload.github.com/pmarsceill/just-the-docs/zip/v0.2.7 to /opt/buildhome/repo/jekyll-remote-theme-20230412-14794-svae9e.zip
Remote Theme: Unzipping /opt/buildhome/repo/jekyll-remote-theme-20230412-14794-svae9e.zip to /opt/buildhome/repo/jekyll-remote-theme-20230412-14794-j3aea2


When building locally:
Remote Theme: Using theme pmarsceill/just-the-docs
Remote Theme: Downloading https://codeload.github.com/pmarsceill/just-the-docs/zip/v0.2.7 to /tmp/jekyll-remote-theme-20230412-93-vzhns2.zip
Remote Theme: Unzipping /tmp/jekyll-remote-theme-20230412-93-vzhns2.zip to /tmp/jekyll-remote-theme-20230412-93-pdotqn


Basically, when building in Cloudflare, the parent theme zip is downloaded inside the repo directory where its contents are seen as part of our site, which causes the build error.

I've had to enable verbose mode to generate the above output so unfortunately can't see which directory was used when it was working without error 6 days ago. But obviously can see that it uses
/tmp
when we run the build locally.
Was this page helpful?