LPS-27968 Delete the temp files when publish article