allow publishing inside a pipeline