0

I'm using Vercel to build a static web page for one of my coding projects. It's linked up to my GitHub repo, so it's automatically rebuilding every time I push any changes to my repo. Since my project entire project (frontend and backend) is contained in a monorepo, having Vercel redeploy my frontend even if I don't push any frontend-related changes means the deployments are getting out of hand very quickly, which I don't want.

My project is organized like this:

./
  /frontend
  (everything else)

I tried using this command for my "Ignored Build Step" in my project's settings: git diff HEAD^ HEAD -- ./frontend

This command for some reason is ignoring any changes to frontend, and only redeploying when I push changes to anything else. This is the inverse of what I want.

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.