Refine deploy workflow