CI: remove dead publishing stages and templates from all pipelines (#27959)