Search and replace not working while staging is pushed to production.

I pushed a staging site to production but URL search and replace does not happen after pushing the site to production.