While some dogs have nipple discharge during pregnancy, this is rarely true milk.
The first substance your momma dog's teats produce is colostrum.
Actual milk won't appear until around 48 hours after the pups are born.
Lactation is a cascade that happens step by step from the time your dog gives birth.