Don't use wordpress-publish task, use validate/sync.