It can depend on which Hepatitis virus the person has. A & E are most likely to be transmitted by this kind of activity. B, C & D typically spread through blood interaction. B can, also, be transmitted sexually.
Whichever virus we're talking about, hygienic precautions should be observed. (Frequent handwashing, no coughing/sneezing around prep area, no test-tasting the food and reusing the unwashed utensil to serve it)