Try deploying instead of publishing artifacts.