The defending bishop lives on one diagonal that controls the promotion square. Interfere with that diagonal using your own bishop before advancing the pawn.
Here the black king is far away on h7, so one might think any move wins. In fact pushing d7 immediately throws the win away: the black bishop goes to h4 and then to d8, controlling the queening square with the king arriving to help. The pawn on d7 becomes a target.