Convert repository publish into a Celery task.