publish cache before deploying