Attack Action
Attack Action is different from attack
attack. You are not doing one attack. You are doing two attacks in one attack action.
Many extra action features targets the attack action, such as Extra Attack, Two Weapons Fighting, Flurry of blows, or Archery Master feat. They do not apply to all attacks, for example they are not triggered when you cast an attack spell or use your reaction to do an opportunity attack.
Many extra damage and defense features targets attack(s). When something says when you hit or miss, it also is in this camp. Bless, Divine Favor, Improved Divine Smite, Sneak Attack, Heavy Armor Master feat, enhancement bonus etc. all applies to individual attacks. They applies to any applicable attacks.
So, your Divine Favor bonus applies to every weapon hit (not every damage roll).