Vercel to ignore build on small branches
Unanswered
Russian Blue posted this in #help-forum
Russian BlueOP
Hi all, I have a master branch which I use for production on my main domain. I also have a test branch which I use for my subdomain (test.domain.com). But I would like Vercel to ignore all other commits made to other branches that I have, branches like 'dev'.
I looked into Vercel Ignore Build Docs but I am not quite sure how to apply the scripts provided. Do I add a script in my local repo, add the script in my package.json 'scripts' and add the script in my .gitignore?
I looked into Vercel Ignore Build Docs but I am not quite sure how to apply the scripts provided. Do I add a script in my local repo, add the script in my package.json 'scripts' and add the script in my .gitignore?
1 Reply
Toyger
you add script to repo, then in
choose
Project Setting -> Git -> Ignored Build Stepchoose
Run Bash|Node script and entering it name.