fix publish action copy_dir