LGP deployment via NX monorepo

Hello.

We use NX monorepo and within our monorepo there is obviously a python folder for all of our very cool langgraph code.

When running locally, we use langgraph dev and all is good with the world.

However we need to deploy to our production environment now :slight_smile:

I notice that you can configure LGP to listen to any push to branch events (Merge events) and when it notices these events it will deploy your code.

Something I dont understand and have challenges working through.

When we merge code to our main branch, its not always going to be langgraph code that changed and therefore we will not want to trigger a LGP deployment, but sometimes we might have changed langgraph code and therefore will want a deployment to be triggered.

  1. Is there a way to make sure you only trigger a deployment if you know for sure that langgraph related code inside your monorepo has changed, and how would you do that?

I came across this convo, but its a little bit different to what I need to find out.

Hey, anyone able to assist?

Hey @lloyd-lighthouse , this is on our longer term roadmap but unfortunately not planned for the near future due to other features having priority at the moment.

Thanks for the response.

We will have to work out another solution then.