A search for flavour-changing neutral current (FCNC) interactions involving a top quark, an up-type quark (), and a Standard Model (SM) Higgs boson decaying into a -lepton pair () is presented. The search is based on a dataset of collisions at \sqrt{s}=13~\tev recorded with the ATLAS detector at the Large Hadron Collider that corresponds to an integrated luminosity of 139 fb. Two processes are considered: single top quark FCNC production in association with a Higgs boson (), and top quark pair production in which one of top quarks decays into and the other decays into through the FCNC interactions. The search selects events with two hadronically decaying -lepton candidates (\tauhad) or at least one \tauhad with an additional lepton (e,), as well as multiple jets. Event kinematics are used to separate signal from the background through a multivariate discriminant. A slight excess of data is observed above the expected SM background with a significance of 2.3, and 95\% CL upper limits on the branching ratios are derived. Observed (expected) 95\% CL upper limits are set on the and branching ratios of () and (), respectively. The corresponding combined observed (expected) upper limits on the dimension-6 operator Wilson coefficients in the effective couplings are C_{c\phi} <1.38\, (0.97) and C_{u\phi} <1.18\, (0.83), respectively.