Refactor to use IvyActions.publish