fix deploy task order

[ci skip]