In Dungeon World a character earns XP for following his alignment. Is this XP earned every time the character follows his alignment or only at the session's end?
It is only at the end of the session.
From page 30 of the rulebook:
And from page 78: