It wasn’t just luck, the eclipse itself has a tendency to clear out clouds:
Was similar here in Austin - sky has been hazy/cloudy most of the day including the partial eclipse - and then conveniently cleared up for a few minutes exactly around the time of the totality
https://old.lemmy.world/comment/9214297