Roots Discourse

Should syncing uploads folder be done before cap staging deploy?


I’m deploying from dev to staging using Capistrano + Composer: bundle exec cap staging deploy
From its log i see manipulations of uploads folder.
I sync uploads using Capistrano wp cli plugin: bundle exec cap staging wpcli:uploads:rsync:push --trace
Should the sync uploads precede deployment step?



Syncing uploads shouldn’t be a part of any deployment step IMO - that should be a separate task entirely that you selectively run