The thermal Sunyaev-Zel’dovich effect from the epoch of reionisation