HomeAboutMeBlogGuest
© 2025 Sejin Cha. All rights reserved.
Built with Next.js, deployed on Vercel
♥️
2기 최종 프로젝트 팀별 공간
/
📚
[팀06] Books
/
❌
에러 해결 모음
/
Vercel 프로덕션외 브랜치에서 자동 build 수정

Vercel 프로덕션외 브랜치에서 자동 build 수정

 
관련링크
해결 방안
https://stackoverflow.com/questions/68232548/how-can-i-stop-vercel-preview-deployments-from-appearing-on-pull-requests
 
원인
https://vercel.com/docs/concepts/git - vercel 은 git 연결시 모든 push에서 프리뷰를 생성함

TL; DR

vercel 해당 프로젝트에서 /settings/git 에서
Ignored Build Step 에서 Command에 [ "$VERCEL_ENV" != production ] 작성하기