Deploy failed: Out of memory

Ok, it appears the “Cause of failure could not be determined” is related to the caching I tried to introduce to speed up the build (usage of $XDG_CACHE_HOME environment variable).

After disabling this caching, the build + deploy has succeeded (but only once so far, so who knows).

So @tyler would still be good to see if you can take a look at it, even though it succeeded once.

Gatsby - build caching and image transformations

Just trying this out today (although I’m experiencing unexplained build failures). But I think the cache saving and restoration is working…? Here’s my version of the script: #!/usr/bin/env bash # Ref: Gatsby - build caching and image transformations - #2 by Ralph restore_render_cache() { local source_cache_dir=“$1” if [[-d “$XDG_CACHE_HOME/$source_cache_dir”]]; then echo “CACHE HIT $source_cache_dir, rsyncing…” rsync -a "$XDG_CACHE_HOME/$source_cache_dir/…

[Discourse post]