Sync before deploy