adds publish/unpublish actions