I've found that building the churches or training priests in a city increases the governors piety - as long as he is there when it completes.
I have read elswhere that joining a priest to a stack also protects the general there from inquisitors (app the AI doesn't even target them) but this is second hand as I am trying it at the moment.
Bookmarks