first publish to remote server