I have quarterly meetings with my manager anyway so raised it at the end of that I had to tell her early due to my low blood pressure making me a faint risk.
When I got past the official mark I sent her and the team boss an email to officially notify them (which is what my maternity policy states)