Roots Discourse

Trellis & Smush Pro WebP (Deploy remove WebP Files)

Hi.

WPMU Smush Pro create folder with WebP images on: site/webp/app/smush-webp/
Could I ask for a help to get trellis copy this directory to /shared/ as it’s doing with uploads dir? <- And reverse, get it into place on deploy finish :slight_smile:

As each deploy delete this folder and need to run Smush for WebP again.

I believe what you’re looking for is project_shared_children.

Take a look at this file in Trellis:

Looks exactly what I needed, thank you!