fix(deploy): make deploy function return a promise
fix(deploy): make deploy function return a promise

EME-3364

Co-authored-by: David Kocsis <e7b75615fc481b685923552b84d8f9decb8b9dbc@emarsys.com>

emartech/client-publish