Make deploy dependent on publish in the common build.