Delete content after publication is successful