(r)sync of theme dist

Is syncing the theme dist folder on deploy enabled by default?
It seemed to work but suddenly it stopped working and there is no dist/ folder at all copied when running the deploy script/playbook.

There is a rsync command mentioned in ‘deploy-hooks/build-before.yml’ but it is commented out. - Is this intended for being used when building the theme during deploy?

When running deploy, there are no errors but dist is also not synced.

Yes, if you’re using Sage then you should uncomment that file and adjust as necessary (just theme name for Sage 9).

Config for multiple sites: Deploy_build_before for multiple site boxes

1 Like