im pretty sure you just have to parent the texture node to the cube by selecting it and then shift select the cube and hit p although now that i think about it, i dont think this works for deformation, only for movement in x y or z