Is tanning okay while pregnant?

I’m 29 weeks. I’m laying in the sun but it’s not too hot and there’s a nice breeze and some cloud cover every few minutes. Is it okay for me to sit here? Will baby get too hot?