Remove temporary ref when deploy is finished.