I believe that the "Ignored Build Step" setting does this, try setting it to "Only build pre-production". Image of Ignore Build Step being set to Only Build pre-production Vercel Ignore Build Step Docs